document.write( "Question 620526: When you do the substitution method and you just have variables to add and subtract with..Like for example.
\n" ); document.write( "x+y=3
\n" ); document.write( "x-y=1
\n" ); document.write( "How do you solve that?
\n" ); document.write( "

Algebra.Com's Answer #390200 by vleith(2983)\"\" \"About 
You can put this solution on YOUR website!
\"x%2By=3\"
\n" ); document.write( "\"x-y=1\"
\n" ); document.write( "Use the first equation and put it in a format that shows one variable in terms of the other. Lets take equation one and change it to show x in terms of y
\n" ); document.write( "\"x%2By=3\"
\n" ); document.write( "\"x+=+3-y\"\r
\n" ); document.write( "\n" ); document.write( "Now that the second equation and substitute in the value you just found for x
\n" ); document.write( "\"x-y=1\"
\n" ); document.write( "\"%283-y%29+-+y+=+1\"
\n" ); document.write( "Now simplify and solve for the remaining variable
\n" ); document.write( "\"-2y+=+1-3\"
\n" ); document.write( "\"-2y+=+-2\"
\n" ); document.write( "\"y+=+1\"
\n" ); document.write( "Take this value for y and use it in the first equation and solve for x
\n" ); document.write( "\"x+%2B+1+=+3\"
\n" ); document.write( "\"x+=+2\"
\n" ); document.write( "So the solution is (2,1)
\n" ); document.write( "
\n" );