document.write( "Question 414173: solve by the substitution method\r
\n" ); document.write( "\n" ); document.write( "6x+4y=-24
\n" ); document.write( "-3x+y=21\r
\n" ); document.write( "\n" ); document.write( "the solution is?
\n" ); document.write( "

Algebra.Com's Answer #290521 by algebrahouse.com(1659)\"\" \"About 
You can put this solution on YOUR website!
solve by the substitution method\r
\n" ); document.write( "\n" ); document.write( "6x + 4y = -24
\n" ); document.write( "-3x + y = 21------> y = 3x + 21 {added 3x to both sides}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "6x + 4y = -24 {top equation}
\n" ); document.write( "6x + 4(3x + 21) = -24 {substituted 3x + 21, in for y, into top equation}
\n" ); document.write( "6x + 12x + 84 = -24 {used distributive property}
\n" ); document.write( "18x + 84 = -24 {combined like terms}
\n" ); document.write( "18x = -108 {subtracted 84 from both sides}
\n" ); document.write( "x = -6 {divided both sides by 18}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = 3x + 21
\n" ); document.write( "y = 3(-6) + 21 {substituted -6, in for x, into y = 3x + 21}
\n" ); document.write( "y = -18 + 21 multiplied 3 by -6}
\n" ); document.write( "y = 3 {combined like terms}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -6 and y = 3
\n" ); document.write( "www.algebrahouse.com
\n" ); document.write( "
\n" ); document.write( "
\n" );