document.write( "Question 322767: substition
\n" ); document.write( "x+y=12
\n" ); document.write( "x-4y=-8
\n" ); document.write( "

Algebra.Com's Answer #231046 by jessica43(140)\"\" \"About 
You can put this solution on YOUR website!
First you want to rewrite the first equation and then plug it into the second equation.
\n" ); document.write( "x + y = 12 can be rewritten as x = 12 - y (subtract y from each side).
\n" ); document.write( "Now plug this new value of x into the second equation and solve for y:
\n" ); document.write( "x-4y = -8
\n" ); document.write( "(12-y)- 4y = -8
\n" ); document.write( "12 - y - 4y = -8
\n" ); document.write( "12 - 5y = -8
\n" ); document.write( "-5y = -20
\n" ); document.write( "y = 4
\n" ); document.write( "Plug this value into the first equation to find x:
\n" ); document.write( "x + y = 12
\n" ); document.write( "x + 4 = 12
\n" ); document.write( "x= 8
\n" ); document.write( "So y=4 and x=8.
\n" ); document.write( "
\n" );