document.write( "Question 1001198: A man is now twice as old as his friend. Five years ago, a man was thrice as old as his friend. Determine their present ages\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #618439 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Call his age now, x.
\n" ); document.write( "Cal his friend's age now, y.
\n" ); document.write( "Then we have
\n" ); document.write( "x = 2y
\n" ); document.write( "and five years ago
\n" ); document.write( "x-5=3(y-5)
\n" ); document.write( "Substitute the first equation into the second and get
\n" ); document.write( "2y-5=3(y-5)
\n" ); document.write( "2y - 5 = 3y - 15
\n" ); document.write( "and
\n" ); document.write( "y = 10
\n" ); document.write( "so that
\n" ); document.write( "x = 20
\n" ); document.write( "
\n" );