document.write( "Question 154831: If Martin was four times as old as Gary 8 years ago and if Martin will be twice as old as Gary 8 years hence, find their ages. \n" ); document.write( "
Algebra.Com's Answer #113992 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Let m - Martin's age now; Let g = Gary's age now
\n" ); document.write( ":
\n" ); document.write( "Write an equation for each statement:
\n" ); document.write( "\"If Martin was four times as old as Gary 8 years ago\"
\n" ); document.write( "(m-8) = 4(g-8)
\n" ); document.write( "m - 8 = 4g - 32
\n" ); document.write( "m - 4g = -32 + 8
\n" ); document.write( "m - 4g = -24
\n" ); document.write( ":
\n" ); document.write( "\" and if Martin will be twice as old as Gary 8 years hence,\"
\n" ); document.write( "(m+8) = 2(g+8)
\n" ); document.write( "m + 8 = 2g + 16
\n" ); document.write( "m - 2g = 16 - 8
\n" ); document.write( "m - 2g = 8
\n" ); document.write( ":
\n" ); document.write( "Subtract the 1st equation from the above equation:
\n" ); document.write( "m - 2g = 8
\n" ); document.write( "m - 4g = -24
\n" ); document.write( "--------------subtraction eliminates m
\n" ); document.write( "0 + 2g = +32
\n" ); document.write( "g = \"32%2F2\"
\n" ); document.write( "g = 16 yrs Gary's age now
\n" ); document.write( ":
\n" ); document.write( "Use the equation; m - 2g = 8 to find m
\n" ); document.write( "m - 2(16) = 8
\n" ); document.write( "m - 32 = 8
\n" ); document.write( "m = 8 + 32
\n" ); document.write( "m = 40 yrs is Martin's age now
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check solution in the statement:
\n" ); document.write( "\"If Martin was four times as old as Gary 8 years ago and if Martin will be twice as old as Gary 8 years hence, find their ages.\"
\n" ); document.write( "40 - 8 = 4(16-8)
\n" ); document.write( "and
\n" ); document.write( "40 + 8 = 2(16+8)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );