document.write( "Question 12704: Geometry Equations of Lines\r
\n" ); document.write( "\n" ); document.write( "The equation of the line containing the points (0,4) and (1,1).
\n" ); document.write( "

Algebra.Com's Answer #25868 by tran3209(100)\"\" \"About 
You can put this solution on YOUR website!
The equation of a line passes through two points is Y=aX + b\r
\n" ); document.write( "\n" ); document.write( "Let A with A(0,4) and B with B(1,1)\r
\n" ); document.write( "\n" ); document.write( "If the line passes through A(0,4), replace y by 4 and X by 0 in the equation:\r
\n" ); document.write( "\n" ); document.write( "4 = 0.a + b ---->b = 4\r
\n" ); document.write( "\n" ); document.write( "If the line passes through B(1, 1),replace y by 1, X by 1,in the equation, also replace b by 4 in the equation:\r
\n" ); document.write( "\n" ); document.write( "1 = (1)(a) + 4 ---> -4+1 = a ---->a = -3\r
\n" ); document.write( "\n" ); document.write( "Replace a by -3 and b by 4 in the equation; y=-3x+4\r
\n" ); document.write( "\n" ); document.write( "this is the answer: y = -3x + 4
\n" ); document.write( "
\n" );