document.write( "Question 179214: Write an equation of a line given the following information.
\n" ); document.write( "passes through the points (-2,6) and (-3,-4) can you explain each step please
\n" ); document.write( "

Algebra.Com's Answer #134156 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Write an equation of a line given the following information.
\n" ); document.write( "passes through the points (-2,6) and (-3,-4) can you explain each step please
\n" ); document.write( "------------------------
\n" ); document.write( "The hard way:
\n" ); document.write( "1st, find the slope, m, of the line.
\n" ); document.write( "m = (diff in y)/(diff in x)
\n" ); document.write( "m = (-4 -6)/(-3 -(-2))
\n" ); document.write( "m = -10/-1
\n" ); document.write( "m = 10
\n" ); document.write( "------
\n" ); document.write( "Then, use either point in
\n" ); document.write( "y-y1 = m*(x-x1) where (x1,y1) is the point.
\n" ); document.write( "y-6 = 10*(x+2)
\n" ); document.write( "y-6 = 10x + 20
\n" ); document.write( "y = 10x + 26
\n" ); document.write( "That's it.
\n" ); document.write( "------------
\n" ); document.write( "The easy way:
\n" ); document.write( "|x y 1|
\n" ); document.write( "|-2 6 1| = 0
\n" ); document.write( "|-3 -4 1|
\n" ); document.write( "----------------
\n" ); document.write( "x*(6+4) - y*(-2+3) + (8 + 18) = 0
\n" ); document.write( "10x -y +26 = 0
\n" ); document.write( "y = 10x + 26\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );