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

Algebra.Com's Answer #48679 by rmromero(383)\"\" \"About 
You can put this solution on YOUR website!
-x+y=1
\n" ); document.write( "2x+y=-2\r
\n" ); document.write( "\n" ); document.write( "Here are the Steps Systems of Equation using Substition method
\n" ); document.write( "1. In either equation, solve for one variable in terms of the other.
\n" ); document.write( "
--> -x + y = 1
\n" ); document.write( " x = y - 1
\n" ); document.write( "


\n" ); document.write( "2. Substitute y - 1 for for x in the other equation 2x + y = -2. Solve.
\n" ); document.write( "
--> 2(y-1) + y = -2
\n" ); document.write( " 2y - 2 + y = -2
\n" ); document.write( " 3y = 0
\n" ); document.write( " y = 0
\n" ); document.write( "


\n" ); document.write( "3. Substitute the result from step 2 in either equation. Solve for the other variable.
\n" ); document.write( "
--> -x + y = 1, y =0
\n" ); document.write( " -x + 0 = 1
\n" ); document.write( " -x = 1
\n" ); document.write( " x = -1
\n" ); document.write( "


\n" ); document.write( "4. Check the solution in both original equations.
\n" ); document.write( "A. -x + y = 1, y=0 , x=-1
\n" ); document.write( " -(-1) + 0 = 1
\n" ); document.write( " 1 = 1 ------------------->> true
\n" ); document.write( "

\n" ); document.write( "B. 2x + y = -2, y =0, x = -1
\n" ); document.write( " 2(-1) + 0 = -2
\n" ); document.write( " -2 = -2 ------------------>> True\r
\n" ); document.write( "\n" ); document.write( "


\n" ); document.write( "Therefore the solution of the system of the equation is (-1, 0)
\n" ); document.write( "
\n" );