document.write( "Question 662280: Solve the system by the substitution method\r
\n" ); document.write( "\n" ); document.write( "4x + y = 25
\n" ); document.write( "3x + 4y= 22\r
\n" ); document.write( "\n" ); document.write( "the answer the teacher got was 5,10
\n" ); document.write( "but I can not figure out how to get there.
\n" ); document.write( "

Algebra.Com's Answer #412074 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Solve the system by the substitution method\r
\n" ); document.write( "\n" ); document.write( "4x + y = 25 --> y = 25 - 4x
\n" ); document.write( "3x + 4y= 22
\n" ); document.write( "-------------
\n" ); document.write( "Sub for y in the 2nd eqn
\n" ); document.write( "3x + 4*(25-4x) = 22
\n" ); document.write( "3x + 100 - 16x = 22
\n" ); document.write( "-13x = -78
\n" ); document.write( "x = 6
\n" ); document.write( "------
\n" ); document.write( "y = 25-4x
\n" ); document.write( "y = 1
\n" ); document.write( "--> (6,1)
\n" ); document.write( "============
\n" ); document.write( "If you sub (5,10), you'll see it doesn't fit
\n" ); document.write( "
\n" ); document.write( "
\n" );