document.write( "Question 239368: write the equation of a line in slope intercept form
\n" ); document.write( "through points (-7,2) and (-6, -2)
\n" ); document.write( "

Algebra.Com's Answer #175746 by nyc_function(2741)\"\" \"About 
You can put this solution on YOUR website!
Your first step is to find the slope.\r
\n" ); document.write( "\n" ); document.write( "Let m = slope\r
\n" ); document.write( "\n" ); document.write( "m = difference of y coordinates divided by the difference of x coordinates\r
\n" ); document.write( "\n" ); document.write( "m = (-2 - 2)/(-6 -(-7))\r
\n" ); document.write( "\n" ); document.write( "m = -4/(-6 + 7)\r
\n" ); document.write( "\n" ); document.write( "m = -4/1\r
\n" ); document.write( "\n" ); document.write( "m = -4\r
\n" ); document.write( "\n" ); document.write( "The slope is -4.\r
\n" ); document.write( "\n" ); document.write( "To write in slope-intercept form, y = mx + b, we need to use the point-slope formula.\r
\n" ); document.write( "\n" ); document.write( "y - y1 = m(x - x1) is the point-slope formula.\r
\n" ); document.write( "\n" ); document.write( "We use one of the given points and the slope to find our equation.\r
\n" ); document.write( "\n" ); document.write( "I will use (-7, 2) but you can use the other point if you want to.\r
\n" ); document.write( "\n" ); document.write( "We plug the slope and one point into the point-slope formula and solve for y.\r
\n" ); document.write( "\n" ); document.write( "y - 2 = -4(x -(-7))\r
\n" ); document.write( "\n" ); document.write( "y - 2 = -4(x + 7)\r
\n" ); document.write( "\n" ); document.write( "y - 2 = -4x - 28\r
\n" ); document.write( "\n" ); document.write( "y = -4x - 28 + 2\r
\n" ); document.write( "\n" ); document.write( "y = -4x - 26\r
\n" ); document.write( "\n" ); document.write( "Did you follow?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );