document.write( "Question 999809: Convert to y=mx+b \r
\n" ); document.write( "\n" ); document.write( "Problem: passing through (-2, 4) and (3, -1)
\n" ); document.write( "

Algebra.Com's Answer #617360 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "x1 y1 x2 y2
\n" ); document.write( "2 4 3 -1
\n" ); document.write( "
\n" ); document.write( "slope m = (y2-y1)/(x2-x1)
\n" ); document.write( "( -1 - 4 )/( 3 - 2 )
\n" ); document.write( "( -5 / 1 )
\n" ); document.write( "m= -5
\n" ); document.write( "The required line passes through both the points. So we select one point and plug it with the slope
\n" ); document.write( "Plug value of the slope and point ( 2 , 4 ) in
\n" ); document.write( "Y = m x + b
\n" ); document.write( "4.00 = -5 * 2 + b
\n" ); document.write( "4.00 = -10 + b
\n" ); document.write( "b= 4 + 10
\n" ); document.write( "b= 14
\n" ); document.write( "So the equation will be
\n" ); document.write( "Y = -5 x + 14
\n" ); document.write( "m.ananth@hotmail.ca
\n" ); document.write( "
\n" ); document.write( "
\n" );