document.write( "Question 904654: the sum of john's age and Mary's age is 36 years. John is 4 years younger than Mary. how old are john and Mary? \n" ); document.write( "
Algebra.Com's Answer #548833 by Math_Boss(45)\"\" \"About 
You can put this solution on YOUR website!
J+M=36
\n" ); document.write( "J=(M-4)
\n" ); document.write( "Substitute J=(M-4)
\n" ); document.write( "(M-4)+M=36
\n" ); document.write( "M-4+M=36
\n" ); document.write( "2M=36+4
\n" ); document.write( "2M=40
\n" ); document.write( "M=20
\n" ); document.write( "J=20-4=16
\n" ); document.write( "Ans:Mary is 20, John is 16
\n" ); document.write( "
\n" );