document.write( "Question 374699: please help me solve this\r
\n" ); document.write( "\n" ); document.write( "What equation of the line passes through the points with coordinates (-2,1) and (1,2)
\n" ); document.write( "

Algebra.Com's Answer #266485 by sophxmai(62)\"\" \"About 
You can put this solution on YOUR website!
Ok, so your coordinates are (-2,1) and (1,2).\r
\n" ); document.write( "\n" ); document.write( "The equation of the line is y=mx+b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "First, find the slope, m.
\n" ); document.write( "\"m=%28y2-y1%29%2F%28x2-x1%29\"
\n" ); document.write( "\"m=%28%282%29-%281%29%29%2F%28%281%29-%28-2%29%29\"
\n" ); document.write( "\"m=1%2F3\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now, you have \"y=%281%2F3%29x%2Bb\"
\n" ); document.write( "Now, plug in one of the coordinates in for x and y, and then solve for b (the y-intercept).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=%281%2F3%29x%2Bb\"
\n" ); document.write( "\"%282%29=%281%2F3%29%281%29%2Bb\"
\n" ); document.write( "\"2=%281%2F3%29%2Bb\"
\n" ); document.write( "\"2-%281%2F3%29=b\"
\n" ); document.write( "\"1%282%2F3%29=b\"
\n" ); document.write( "\"%285%2F3%29=b\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And now you have \"y=%281%2F3%29x%2B%285%2F3%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "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).\r
\n" ); document.write( "\n" ); document.write( "(-2,1)
\n" ); document.write( "\"y=%281%2F3%29x%2B%285%2F3%29\"
\n" ); document.write( "\"y=%281%2F3%29%28-2%29%2B%285%2F3%29\"
\n" ); document.write( "\"y=%28-2%2F3%29%2B%285%2F3%29\"
\n" ); document.write( "\"y=%283%2F3%29\"
\n" ); document.write( "\"y=1\"
\n" ); document.write( "
\n" );