Explanation:
the general slope-intercept form is
y = ax + b
a is the slope, b is the y-intercept.
we need to transform x + 2y = 6, so that we end up with y being all alone on one side, and the rest on the other side.
x + 2y = 6
2y = -x + 6
y = -x/2 + 6