Added what appear to be the original form of the problem.
x = 6 \div 2(1 + 2) \\
x = \frac{6}{2(1 + 2)} \\
x = \frac{6}{2 + 4} \\
x = \frac{6}{6} \\
x = 1 \\
y = 6 \div 2(1 + 2) \\
y = \frac{6}{2(1 + 2)} \\
y = \frac{2 \cdot 3}{2(1 + 2)} \\
y = \frac{2 (1 + 2)}{2(1 + 2)} \\
y = 1 \\
z = 6/2 \space \space (1 + 2) \\
z = \frac{6}{2}(1 + 2) \\
z = \frac{\tfrac{6}{2}}{\tfrac{12}{4}} \\
z = \frac{3}{3} \\
z = 1
x = 6 \div 2(1 + 2) \\
x = 6 \div 2 \cdot (1 + 2) \\
x = \frac{6}{2} \cdot (1 + 2) \\
x = 3 \cdot (1 + 2) \\
x = 3 \cdot 3 \\
x = 9
@gnu_lorien Without watching the video, I suspect that what happened is some guy in 1917 pointed out the problem, but he wasn't the King of Math so people kept doing it.
https://www.youtube.com/watch?v=URcUvFIUIhQ
This video claims that this is a "historical usage" that was deprecated in 1917. As a matter of historical fact I have no clue if this is true. I wasn't alive in 1917 though so I suspect this notation was alive and well up until at least 2001.
The example they give is pretty good and exactly explains how I think about it.