document.write( "Question 1156484: David and John's ages add up to twenty nine. Seven years ago David was twice the
\n" ); document.write( "age john. What are their present ages.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #779187 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
D+J=29
\n" ); document.write( "D-7=2(J-7)
\n" ); document.write( "so D=2J-14+7=2J-7
\n" ); document.write( "so 2J-7+J=29
\n" ); document.write( "3J=36
\n" ); document.write( "J=12
\n" ); document.write( "D=17\r
\n" ); document.write( "\n" ); document.write( "check 7 years ago they were 5 and 10.
\n" ); document.write( "
\n" );