Question 374699
Ok, so your coordinates are (-2,1) and (1,2).

The equation of the line is y=mx+b


First, find the slope, m.
{{{m=(y2-y1)/(x2-x1)}}}
{{{m=((2)-(1))/((1)-(-2))}}}
{{{m=1/3}}}


Now, you have {{{y=(1/3)x+b}}}
Now, plug in one of the coordinates in for x and y, and then solve for b (the y-intercept).


{{{y=(1/3)x+b}}}
{{{(2)=(1/3)(1)+b}}}
{{{2=(1/3)+b}}}
{{{2-(1/3)=b}}}
{{{1(2/3)=b}}}
{{{(5/3)=b}}}


And now you have {{{y=(1/3)x+(5/3)}}}


To check to see if this is correct, sub in x or y of one coordinate and see if you get the other value (sub in x, get the correct y, or sub in y and get the correct x).

(-2,1)
{{{y=(1/3)x+(5/3)}}}
{{{y=(1/3)(-2)+(5/3)}}}
{{{y=(-2/3)+(5/3)}}}
{{{y=(3/3)}}}
{{{y=1}}}