document.write( "Question 462067: I having a lot of trouble figuring out how to do this problem,\r
\n" ); document.write( "\n" ); document.write( "+ solve the system of equations by using the substitution method.\r
\n" ); document.write( "\n" ); document.write( "x + 2y = -12
\n" ); document.write( "x= -5y
\n" ); document.write( "

Algebra.Com's Answer #316796 by algebrahouse.com(1659)\"\" \"About 
You can put this solution on YOUR website!
x + 2y = -12
\n" ); document.write( "x = -5y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + 2y = -12 {top equation}
\n" ); document.write( "-5y + 2y = -12 {substituted -5y, in for x, into the top equation}
\n" ); document.write( "-3y = -12 {combined like terms}
\n" ); document.write( "y = 4 {divided both sides by -3}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -5y {original bottom equation}
\n" ); document.write( "x = -5(4) {substituted 4, in for y, into x = -5y}
\n" ); document.write( "x = -20 {multiplied}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -20 and y = 4
\n" ); document.write( "www.algebrahouse.com
\n" ); document.write( "
\n" );