document.write( "Question 1052923: Hello.
\n" ); document.write( "I have been struggling with a question for a while and I am getting frustrated. The question is: \"The sum of the ages of John and Mary is 32. Four years ago, John was twice as old as Mary. Find the present age of each.\"\r
\n" ); document.write( "\n" ); document.write( "I have tried sum of 32, then divide by 2 = 16. Then 16 - 4 = 12 and then I get stuck. Please can you help? Thank you :)
\n" ); document.write( "

Algebra.Com's Answer #668236 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
The sum of the ages:
\n" ); document.write( "J+M = 32 Subtract M on both sides
\n" ); document.write( "J = 32-M (1)
\n" ); document.write( "Four years ago John was 2*Mary:
\n" ); document.write( "J-4 = 2(M-4) (2)
\n" ); document.write( "In equation (2) substitute the value of J per (1):
\n" ); document.write( "32-M-4 = 2M-8
\n" ); document.write( "28-M = 2M-8
\n" ); document.write( "36-M = 2M
\n" ); document.write( "36 = 3M flip the equation so we have the unknown of the left
\n" ); document.write( "3M = 36 divide both sides by 3
\n" ); document.write( "M = 12
\n" ); document.write( "and J = 32-M = 32-12 = 20
\n" ); document.write( "----------------------------------
\n" ); document.write( "Check
\n" ); document.write( "20-4 = 2(12-4)
\n" ); document.write( "16 = 16 correct
\n" ); document.write( "
\n" );