document.write( "Question 431459: if John is 3 times older than Mary and there is a 24 year difference in their ages, how old are they? \n" ); document.write( "
Algebra.Com's Answer #299419 by htmentor(1343)\"\" \"About 
You can put this solution on YOUR website!
Let J = John's age
\n" ); document.write( "Let M = Mary's age
\n" ); document.write( "Given:
\n" ); document.write( "J = 3M
\n" ); document.write( "J - M = 24
\n" ); document.write( "Substitute the value for J in the 2nd equation:
\n" ); document.write( "3M - M = 24
\n" ); document.write( "Solving for M gives M = 12
\n" ); document.write( "Therefore J = 3*12 = 36
\n" ); document.write( "Ans: John = 36 yrs old, Mary = 12 yrs old
\n" ); document.write( "
\n" );