document.write( "Question 232261: Thank you in advance for your help and your time. I have tried this and it does work out, but I cannot figure out why! Can you explain?\r
\n" ); document.write( "\n" ); document.write( "Think of a number.
\n" ); document.write( "Add 7.
\n" ); document.write( "Double the result.
\n" ); document.write( "Subtract 8.
\n" ); document.write( "Double the result.
\n" ); document.write( "Add 12.
\n" ); document.write( "Divide by 4.
\n" ); document.write( "Subtract 6.
\n" ); document.write( "Your answer will be the original number. Explain how this trick works.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #171690 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Think of a number.
\n" ); document.write( "Add 7.
\n" ); document.write( "Double the result.
\n" ); document.write( "Subtract 8.
\n" ); document.write( "Double the result.
\n" ); document.write( "Add 12.
\n" ); document.write( "Divide by 4.
\n" ); document.write( "Subtract 6.
\n" ); document.write( "Your answer will be the original number. Explain how this trick works
\n" ); document.write( "-----------------------
\n" ); document.write( "The various math operations cancel one-another out.
\n" ); document.write( "-------------------------------------------
\n" ); document.write( "Start with \"x\"
\n" ); document.write( "Add 7 to get \"x+7\"
\n" ); document.write( "Double to get \"2x+14\"
\n" ); document.write( "Subtract 8 to get \"2x+6\"
\n" ); document.write( "Double to get \"4x+12\"
\n" ); document.write( "Add 12 to get \"4x+24\"
\n" ); document.write( "Divide by 4 to get \"x+6\"
\n" ); document.write( "Subtract 6 to get \"x\"
\n" ); document.write( "------------------------------
\n" ); document.write( "You ended up where you started.
\n" ); document.write( "------------------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );