document.write( "Question 1128836: write an equation of the line that passes through the given points...
\n" ); document.write( "(-2,8) and (1,2)
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #745347 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
write an equation of the line that passes through the given points...
\n" ); document.write( "(-2,8) and (1,2)
\n" ); document.write( "-------
\n" ); document.write( "Here's 1 way to do that:
\n" ); document.write( "Find the slope, m
\n" ); document.write( "m = diffy/diffx = -6/3 = -2
\n" ); document.write( "---
\n" ); document.write( "y-y1 = m*(x-x1) where (x1,y1) is either point
\n" ); document.write( "y-2 = -2*(x-1)
\n" ); document.write( "y = -2x + 4
\n" ); document.write( "======================
\n" ); document.write( "Here's another way:
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "| x   y   1|\r\n" );
document.write( "|-2   8   1| = 0\r\n" );
document.write( "| 1   2   1|\r\n" );
document.write( "\r\n" );
document.write( "

\n" ); document.write( "x*(8-2) - y*(-2-1) + 1*(-4-8) = 0
\n" ); document.write( "6x + 3y = 12
\n" ); document.write( "2x + y = 4\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );