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 #299420 by jorel1380(3719)\"\" \"About 
You can put this solution on YOUR website!
Let J equal John, M for Mary;\r
\n" ); document.write( "\n" ); document.write( "J=3M
\n" ); document.write( "J-M=24\r
\n" ); document.write( "\n" ); document.write( "Substituting for J we get;\r
\n" ); document.write( "\n" ); document.write( "3M-M=24
\n" ); document.write( "2M=24
\n" ); document.write( "M=12\r
\n" ); document.write( "\n" ); document.write( "Mary is 12.
\n" ); document.write( "Since J=3m, John is 36.
\n" ); document.write( "
\n" );