how do I solve y=12-2x

Plug in a numerical value of x to get the y value at that poimt.

You can also rearrange the equation to solve for x.

x = (12-y)/2 = 6 - y/2

You do not have enough information to solve for both x and y. You would need a second, independent, equation to do that.