Distributing:
[tex]\begin{gathered} \frac{1}{2}x-7=\frac{1}{3}x-\frac{1}{3}\cdot12 \\ \frac{1}{2}x-7=\frac{1}{3}x-4 \end{gathered}[/tex]1/3x is adding on the right, then it will subtract on the left.
7 is subtracting on the left, then it will add on the right
[tex]\begin{gathered} \frac{1}{2}x-\frac{1}{3}x=-4+7 \\ \frac{1\cdot3-1\cdot2}{6}x=3 \\ \frac{1}{6}x=3 \end{gathered}[/tex]1/6 is multiplying on the left, then it will divide on the right
[tex]\begin{gathered} x=3\cdot6 \\ x=18 \end{gathered}[/tex]