we need to get y alone so subtract 2x from both sides of the equation
2x+4y=12
-2x -2x
-----------------------
4y=-2x+12 now divide both sides by 4
y = -2x/4 +12/4
y = -1/2 x +3