document.write( "Question 974854: The difference between two numbers is ‒2. The sum of the two numbers is 18. Find the numbers.\r
\n" ); document.write( "\n" ); document.write( "I set up the equation as:
\n" ); document.write( "x-y=-2
\n" ); document.write( "x+y=18\r
\n" ); document.write( "\n" ); document.write( "I then isolated x by canceling out y:
\n" ); document.write( "x=-2
\n" ); document.write( "x=18
\n" ); document.write( "x=16\r
\n" ); document.write( "\n" ); document.write( "then I tried to plug in 16 to the x variable to get y:
\n" ); document.write( "x-y=-2 x+y=18
\n" ); document.write( "16-y=-2 16+y=18
\n" ); document.write( "-16 -16 -16 -16
\n" ); document.write( "y=-18 y=2\r
\n" ); document.write( "\n" ); document.write( "What am i doing wrong?
\n" ); document.write( "

Algebra.Com's Answer #596666 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
The difference between two numbers is ‒2. The sum of the two numbers is 18. Find the numbers.\r
\n" ); document.write( "\n" ); document.write( "I set up the equation as:
\n" ); document.write( "x-y=-2
\n" ); document.write( "x+y=18\r
\n" ); document.write( "\n" ); document.write( "I then isolated x by canceling out y:
\n" ); document.write( "x=-2
\n" ); document.write( "x=18
\n" ); document.write( "x=16\r
\n" ); document.write( "\n" ); document.write( "then I tried to plug in 16 to the x variable to get y:
\n" ); document.write( "x-y=-2 x+y=18
\n" ); document.write( "16-y=-2 16+y=18
\n" ); document.write( "-16 -16 -16 -16
\n" ); document.write( "y=-18 y=2\r
\n" ); document.write( "\n" ); document.write( "What am i doing wrong?
\n" ); document.write( "=========================
\n" ); document.write( "You can't just \"cancel out the y.\" Where did you get that idea?
\n" ); document.write( "Then, you get x = -2 (which is wrong)
\n" ); document.write( "Then, x = 18 ?????
\n" ); document.write( "Then, x = 16 ?
\n" ); document.write( "================
\n" ); document.write( "x-y=-2
\n" ); document.write( "x+y=18
\n" ); document.write( "------------------ Add them
\n" ); document.write( "2x = 16
\n" ); document.write( "x = 8
\n" ); document.write( "y = 10
\n" ); document.write( "
\n" ); document.write( "
\n" );