document.write( "Question 563244: The sum of Bill's and Ted's age is 34 years. Five years ago the sum of twice Bill's and three times Ted's age was 59 years. How old are they now? \n" ); document.write( "
Algebra.Com's Answer #364837 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+b+\" = Bill's age now
\n" ); document.write( "Let \"+t+\" = Ted's age now
\n" ); document.write( "given:
\n" ); document.write( "(1) \"+b+%2B+t+=+34+\"
\n" ); document.write( "(2) \"+2%2A%28+b+-+5+%29+%2B+3%2A%28+t+-+5+%29+=+59+\"
\n" ); document.write( "----------------------------
\n" ); document.write( "(2) \"+2b+-+10+%2B+3t+-+15+=+59+\"
\n" ); document.write( "(2) \"+2b+%2B+3t+=+59+%2B+25+\"
\n" ); document.write( "(2) \"+2b+%2B+3t+=+84+\"
\n" ); document.write( "Multiply both sides of (1) by \"2\", and
\n" ); document.write( "subtract (1) from (2)
\n" ); document.write( "(2) \"+2b+%2B+3t+=+84+\"
\n" ); document.write( "(1) \"+-2b+-+2t+=+-68+\"
\n" ); document.write( "\"+t+=+16++\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+b+%2B+t+=+34+\"
\n" ); document.write( "(1) \"+b+%2B+16+=+34+\"
\n" ); document.write( "(1) \"+b+=+34+-+16+\"
\n" ); document.write( "(1) \"+b+=+18+\"
\n" ); document.write( "Bill is 18 and Ted is 16
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+2%2A%28+b+-+5+%29+%2B+3%2A%28+t+-+5+%29+=+59+\"
\n" ); document.write( "(2) \"+2%2A%28+18+-+5+%29+%2B+3%2A%28+16+-+5+%29+=+59+\"
\n" ); document.write( "(2) \"+2%2A13+%2B+3%2A11+=+59+\"
\n" ); document.write( "(2) \"+26+%2B+33+=+59+\"
\n" ); document.write( "(2) \"+59+=+59+\"
\n" ); document.write( "
\n" );