document.write( "Question 309349: I can get every part except the last part my answer does not come out right I need to know how to get the final answer.
\n" ); document.write( "Find an equation of the line containing the given pair of points (-5,-8), (-1,-2)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #221257 by CharlesG2(834)\"\" \"About 
You can put this solution on YOUR website!
I can get every part except the last part my answer does not come out right I need to know how to get the final answer.
\n" ); document.write( "Find an equation of the line containing the given pair of points (-5,-8), (-1,-2)\r
\n" ); document.write( "\n" ); document.write( "m = slope = rise/run = (y2 - y1)/(x2 - x1)
\n" ); document.write( "m = (-2 - -8)/(-1 - -5)
\n" ); document.write( "m = (-2 + 8)/(-1 + 5)
\n" ); document.write( "m = 6/4 = 3/2
\n" ); document.write( "the equation of a line is in form y=mx+b, where m is the slope,
\n" ); document.write( "and b is the y-intercept (vertical-intercept or point (0,b))
\n" ); document.write( "y = 3/2 * x + b (we need to solve for b)
\n" ); document.write( "-2 = 3/2 * -1 + b (plugged in (-1,-2)
\n" ); document.write( "-2 = -3/2 + b
\n" ); document.write( "-1/2 = b
\n" ); document.write( "-8 = 3/2 * -5 + b (plugged in (-5,-8))
\n" ); document.write( "-8 = -15/2 + b
\n" ); document.write( "-1/2 = b again
\n" ); document.write( "y = (3/2)x - (1/2) (equation of the line)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );