Question 1176227


an equation for the line is

{{{y=mx+b}}} where {{{m}}} is a slope and {{{b}}} is y-intercept

given information: 

line passes through ({{{2}}},{{{1}}}) and ({{{-2}}},{{{5}}})

use it to find a slope

{{{m=(y[2]-y[1])/(x[2]-x[1])}}} 

{{{m=(5-1)/(-2-2)}}} 

{{{m=4/-4}}} 

{{{m=-1}}} 

so far equation is

{{{y=-x+b}}} ......use one point to find {{{b}}}

{{{1=-2+b}}}

{{{1+2=b}}}

{{{b=3}}}

and your equation is

{{{y=-x+3}}}



{{{drawing( 600, 600, -10, 10, -10, 10, 
circle(2,1,.12),circle(-2,5,.12),
locate(2,1,p(2,1)),locate(-2,5,p(-2,5)),
 graph( 600, 600, -10, 10, -10, 10, -x+3)) }}}