document.write( "Question 468307: solve by the substitution method.
\n" ); document.write( "8x+7y=9
\n" ); document.write( "-3x+y=22
\n" ); document.write( "

Algebra.Com's Answer #321319 by Gogonati(855)\"\" \"About 
You can put this solution on YOUR website!
From the second equation isolate y: y=3x+22. Substitute this value for y in the first equation:8x+7(3x+22)=9, solving this linear equation we get:29x=-145, and
\n" ); document.write( "final x=-145/29. Plugging x=-145/29 in the equation y=3x+22 we get: y=3(-145/29)+22,
\n" ); document.write( "and final y=7.
\n" ); document.write( "Answer: the solution of our system is the ordered pair (-145/29, 7).
\n" ); document.write( "
\n" );