document.write( "Question 346438: the sum of john and harry's ages is 19 years. if the difference of their ages is 5 years,what are their ages? \n" ); document.write( "
Algebra.Com's Answer #247719 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
Hi,
\n" ); document.write( "Let x represent one of their age and y represent the other's age:
\n" ); document.write( ".
\n" ); document.write( "The question states the following to be true:
\n" ); document.write( "x -y = 5 years or x = y + 5
\n" ); document.write( ".
\n" ); document.write( "Sum of their ages is 19:
\n" ); document.write( "(y +5) + y = 19
\n" ); document.write( ".
\n" ); document.write( "Simplify and Solve:
\n" ); document.write( "2*y + 5 = 19
\n" ); document.write( "2*y = 14
\n" ); document.write( "y = 7 the other (x) is 12
\n" ); document.write( ".
\n" ); document.write( "Check Your answer:
\n" ); document.write( "7 + 12 = 19
\n" ); document.write( "
\n" );