document.write( "Question 359877: Five times a number plus another number is 12. Their difference is 6. What are the two numbers? \n" ); document.write( "
Algebra.Com's Answer #256776 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
5x + y = 12.
\n" ); document.write( "|x-y| = 6.\r
\n" ); document.write( "\n" ); document.write( "y = 12-5x. This implies that |x-(12-5x)| = 6.
\n" ); document.write( "|x-12+5x| = 6.
\n" ); document.write( "|6x-12| = 6,
\n" ); document.write( "|x-2| = 1, after dividing both sides by 6.
\n" ); document.write( "Then x-2 = 1 or x-2 = -1. The first equation gives x = 3, and the second, x = 1. If x = 3, y = -3. If x = 1, y = 7. The answers are then (3,-3) or (1,7).
\n" ); document.write( "
\n" );