Question 51410
Always solve for y first; if there is no y, solve for x.  So, we first subtract x from both sides:  {{{x+2y-x=8-x}}}, which simplifies to {{{2y=-x+8}}}.  Now divide both sides by 2:  {{{2y/2=(-x+8)/2}}}, which simplifies to {{{y=-(1/2)x+4}}}.<br>
Because any two points define a straight line, we need to get two ordered pairs in order to plot and draw the line.  Using {{{x=0}}} produces {{{y=4}}}, so our first ordered pair is (0,4).  Now let's use {{{x=8}}} to produce {{{y=-(1/2)*8+4}}}, which simplifies to {{{y=-4+4}}}, or {{{y=0}}}.  Our second ordered pair is now (8,0).  We plot those two points, and then draw a line between them.
{{{graph(300,200,-3,10,-3,10,-(1/2)x+4)}}}