document.write( "Question 995201: y=2x
\n" ); document.write( "y=-x+6
\n" ); document.write( "

Algebra.Com's Answer #613983 by EdenWolf(517)\"\" \"About 
You can put this solution on YOUR website!
y=2x
\n" ); document.write( "y=-x+6
\n" ); document.write( "Let's solve this system using substitution.
\n" ); document.write( "Substitute 2x instead of y into the second equation, because we know that y = 2x.
\n" ); document.write( "The equation will look like this:
\n" ); document.write( "2x=-x+6
\n" ); document.write( "Add x to both sides.
\n" ); document.write( "3x=6
\n" ); document.write( "Divide 3 from both sides.
\n" ); document.write( "x=2
\n" ); document.write( "Now we know that x is 2. Substitute 2 instead of x in the first equation. It will looks like this:
\n" ); document.write( "y=2*2
\n" ); document.write( "y=4\r
\n" ); document.write( "\n" ); document.write( "ANSWER: x = 2 and y = 4
\n" ); document.write( "
\n" ); document.write( "
\n" );