slope-intercept method:
y = mx + b
if we have the funtion y = -x + 3 , then the slope m = -1
now, in order to graph we need to find a set of 2 points
for example, when x = 3 , then y = - 3 + 3 = 0 , so the 1st point is (3,0)
now, when x = 0 , then y = -0 + 3 = 3 , so the 2nd point is (0,3)
now, using those two points we can plot the function
we will obtian the above
we can see that (3, -6) is not a solution