document.write( "Question 711679: I was wondering how would you solve a linear system using subsitution? My teacher taught the class this in like 10 min and I'm not sure.. Can you show me to steps to answer -x+2y=-6 and 8x+y=31 thanks! \n" ); document.write( "
Algebra.Com's Answer #437543 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
-x+2y=-6
\n" ); document.write( "8x+ y=31
\n" ); document.write( "-------------
\n" ); document.write( "You have a choice: solve the 1st equation for \"x\"
\n" ); document.write( "or solve the 2nd equation for \"y\":
\n" ); document.write( "-----
\n" ); document.write( "Solving for x you get:
\n" ); document.write( "x = 2y+6
\n" ); document.write( "----
\n" ); document.write( "Substitute for \"x\" in the 2nd equation and solve for \"y\":
\n" ); document.write( "8(2y+6)+y = 31
\n" ); document.write( "16y + 48 + y = 31
\n" ); document.write( "17y = -17
\n" ); document.write( "y = -1
\n" ); document.write( "-----------
\n" ); document.write( "Solve for \"x\" using x = 2y+6
\n" ); document.write( "x = 2*-1+6
\n" ); document.write( "x = 4
\n" ); document.write( "====================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "====================
\n" ); document.write( "
\n" );