Question 129828
You need two points to define a line (no more and no less), so pick a value for x, put it into the equation, determine the value for y that corresponds, and then plot the point with the x-coordinate of the value you picked and the y-coordinate for the value that resulted from your choice.  Then do it again for a different value of x.  Once you have plotted two points, draw a line through them and you are done.


Since you can choose any value you like for x, pick something that will make the arithmetic simple.  0 is always a good choice.


{{{cartoon(y=red(x)+2,y=red(0)+2)}}}
{{{y=2}}}


So our first point is (0,2), because we chose 0 for x, and that resulted in 2 for y.


Let's try x = 1
{{{cartoon(y=red(x)+2,y=red(1)+2)}}}
{{{y=3}}}


So the second point is (1,3), because we chose 1 for x, and that resulted in 3 for y.


Plot the points:
{{{drawing(400,400,-5,5,-5,5,
grid(1),
circle(0,2,.1),
locate(.1,1.9,P1(0,2)),
circle(1,3,.1),
locate(1.1,2.9,P2(1,3))
)}}}



Then draw the line:

{{{drawing(400,400,-5,5,-5,5,
grid(1),
circle(0,2,.1),
locate(.1,1.9,P1(0,2)),
circle(1,3,.1),
locate(1.1,2.9,P2(1,3)),
graph(400,400,-5,5,-5,5,x+2)
)}}}



Follow this same procedure for the other equation.