document.write( "Question 710106: John is 3 times as old as martha, Seven years ago the sum of their ages was 54. How old are they now \n" ); document.write( "
Algebra.Com's Answer #436868 by sachi(548)\"\" \"About 
You can put this solution on YOUR website!
John is 3 times as old as martha,
\n" ); document.write( "let martha is x yrs
\n" ); document.write( "john is 3x yrs
\n" ); document.write( "Seven years ago
\n" ); document.write( "martha is x-7 yrs
\n" ); document.write( "john is 3x-7 yrs
\n" ); document.write( "the sum of their ages was 54.
\n" ); document.write( "so x-7+3x-7=54
\n" ); document.write( "or 4x=54+14=68
\n" ); document.write( "or x=17 yrs
\n" ); document.write( "and john is 51 yrs
\n" ); document.write( "
\n" ); document.write( "
\n" );