Answer:
y = -2x + 12
Step-by-step explanation:
Swap the positions of variables x and y, then solve for y again.
[tex]y=-\frac{1}{2}x+6\\\\x=-\frac{1}{2}y+6\\\\x-6=-\frac{1}{2}y+6-6\\\\x-6=-\frac{1}{2}y\\\\-2(x-6)=-2(-\frac{1}{2}y)\\\\-2x+12=y[/tex]