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 #412077 by htmentor(1343)\"\" \"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
\n" ); document.write( "3x + 4y= 22
\n" ); document.write( "=============================
\n" ); document.write( "Solve for y in the 1st equation:
\n" ); document.write( "y = 25 - 4x
\n" ); document.write( "Substitute the value for y in the 2nd equation:
\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( "So y = 25 - 4*6 = 1
\n" ); document.write( "Ans: x=6, y=1
\n" ); document.write( "
\n" );