document.write( "Question 54524: andy is 6 years older than tom. the sum of thier ages is 26. how old are they? \n" ); document.write( "
Algebra.Com's Answer #36778 by Nate(3500)\"\" \"About 
You can put this solution on YOUR website!
Andy = x + 6
\n" ); document.write( "Tom = x
\n" ); document.write( "x + x + 6 = 26
\n" ); document.write( "2x = 20
\n" ); document.write( "x = 10
\n" ); document.write( "Tom is 10 years old. Andy is 16 years old.
\n" ); document.write( "
\n" );