document.write( "Question 392568: use substitution to solve for x and y\r
\n" ); document.write( "\n" ); document.write( "y+2x=12
\n" ); document.write( "x+2y=12
\n" ); document.write( "

Algebra.Com's Answer #278621 by haileytucki(390)\"\" \"About 
You can put this solution on YOUR website!
y+2x=12_x+2y=12\r
\n" ); document.write( "\n" ); document.write( "Since 2x does not contain the variable to solve for, move it to the right-hand side of the equation by subtracting 2x from both sides.
\n" ); document.write( "y=-2x+12_x+2y=12\r
\n" ); document.write( "\n" ); document.write( "Replace all occurrences of y with the solution found by solving the last equation for y. In this case, the value substituted is -2x+12.
\n" ); document.write( "y=-2x+12_x+2(-2x+12)=12\r
\n" ); document.write( "\n" ); document.write( "Multiply 2 by each term inside the parentheses.
\n" ); document.write( "y=-2x+12_x-4x+24=12\r
\n" ); document.write( "\n" ); document.write( "Since x and -4x are like terms, add -4x to x to get -3x.
\n" ); document.write( "y=-2x+12_-3x+24=12\r
\n" ); document.write( "\n" ); document.write( "Since 24 does not contain the variable to solve for, move it to the right-hand side of the equation by subtracting 24 from both sides.
\n" ); document.write( "y=-2x+12_-3x=-24+12\r
\n" ); document.write( "\n" ); document.write( "Add 12 to -24 to get -12.
\n" ); document.write( "y=-2x+12_-3x=-12\r
\n" ); document.write( "\n" ); document.write( "Divide each term in the equation by -3.
\n" ); document.write( "y=-2x+12_-(3x)/(-3)=-(12)/(-3)\r
\n" ); document.write( "\n" ); document.write( "Simplify the left-hand side of the equation by canceling the common factors.
\n" ); document.write( "y=-2x+12_x=-(12)/(-3)\r
\n" ); document.write( "\n" ); document.write( "Simplify the right-hand side of the equation by simplifying each term.
\n" ); document.write( "y=-2x+12_x=4\r
\n" ); document.write( "\n" ); document.write( "Replace all occurrences of x with the solution found by solving the last equation for x. In this case, the value substituted is 4.
\n" ); document.write( "y=-2(4)+12_x=4\r
\n" ); document.write( "\n" ); document.write( "Multiply -2 by each term inside the parentheses.
\n" ); document.write( "y=-8+12_x=4\r
\n" ); document.write( "\n" ); document.write( "Add 12 to -8 to get 4.
\n" ); document.write( "y=4_x=4\r
\n" ); document.write( "\n" ); document.write( "This is the solution to the system of equations.
\n" ); document.write( "y=4_x=4
\n" ); document.write( "
\n" );