document.write( "Question 102597: Solve the system by substitution.\r
\n" ); document.write( "\n" ); document.write( "x+y=12
\n" ); document.write( "y=2x
\n" ); document.write( "

Algebra.Com's Answer #74605 by mjgulinello(10)\"\" \"About 
You can put this solution on YOUR website!
Substitution means plugging one equation into the other.\r
\n" ); document.write( "\n" ); document.write( "So if we plug y = 2x into the first equation we get
\n" ); document.write( "\"x+%2B+2x+=+12\"
\n" ); document.write( "Combine like terms
\n" ); document.write( "\"3x+=+12\"
\n" ); document.write( "Divide both sides by 3
\n" ); document.write( "\"x+=+4\"
\n" ); document.write( "Then we can plug in that result to the second equation.
\n" ); document.write( "\"y+=+2x\"
\n" ); document.write( "\"y+=+2+%2A+4\"
\n" ); document.write( "\"y+=+8\"
\n" ); document.write( "We can check this by plugging it back into the first equation.
\n" ); document.write( "\"x%2By=12\"
\n" ); document.write( "\"4%2B8=12\"
\n" ); document.write( "12=12
\n" ); document.write( "Checks out.
\n" ); document.write( "That's it for this problem.
\n" ); document.write( "
\n" );