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

Algebra.Com's Answer #276023 by haileytucki(390)\"\" \"About 
You can put this solution on YOUR website!
x+y=2_y=2x-1\r
\n" ); document.write( "\n" ); document.write( "Since y does not contain the variable to solve for, move it to the right-hand side of the equation by subtracting y from both sides.
\n" ); document.write( "x=-y+2_y=2x-1\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 -y+2.
\n" ); document.write( "x=-y+2_y=2(-y+2)-1\r
\n" ); document.write( "\n" ); document.write( "Multiply 2 by each term inside the parentheses.
\n" ); document.write( "x=-y+2_y=-2y+4-1\r
\n" ); document.write( "\n" ); document.write( "Subtract 1 from 4 to get 3.
\n" ); document.write( "x=-y+2_y=-2y+3\r
\n" ); document.write( "\n" ); document.write( "Since -2y contains the variable to solve for, move it to the left-hand side of the equation by adding 2y to both sides.
\n" ); document.write( "x=-y+2_y+2y=3\r
\n" ); document.write( "\n" ); document.write( "Since y and 2y are like terms, add 2y to y to get 3y.
\n" ); document.write( "x=-y+2_3y=3\r
\n" ); document.write( "\n" ); document.write( "Divide each term in the equation by 3.
\n" ); document.write( "x=-y+2_(3y)/(3)=(3)/(3)\r
\n" ); document.write( "\n" ); document.write( "Simplify the left-hand side of the equation by canceling the common factors.
\n" ); document.write( "x=-y+2_y=(3)/(3)\r
\n" ); document.write( "\n" ); document.write( "Simplify the right-hand side of the equation by simplifying each term.
\n" ); document.write( "x=-y+2_y=1\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 1.
\n" ); document.write( "x=-(1)+2_y=1\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by the 1 inside the parentheses.
\n" ); document.write( "x=-1+2_y=1\r
\n" ); document.write( "\n" ); document.write( "Add 2 to -1 to get 1.
\n" ); document.write( "x=1_y=1\r
\n" ); document.write( "\n" ); document.write( "This is the solution to the system of equations.
\n" ); document.write( "x=1_y=1
\n" ); document.write( "
\n" );