document.write( "Question 752660: A is twice as old as B, and C is 5 years younger than B. 3 years from now, A will be 3 times as old as C. Find the ages of A,B and C \n" ); document.write( "
Algebra.Com's Answer #457945 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
A = 2B (A is twice as old as B)
\n" ); document.write( "C = B-5 (C is 5 years younger than B)
\n" ); document.write( "A+3 = 3(C+3) (3 years from now, A will be three times as old as C)
\n" ); document.write( "Let's put it all together now:
\n" ); document.write( "A+3 = 3(C+3) Simplify.
\n" ); document.write( "A+3 = 3C+9 Subtract 3 from both sides.
\n" ); document.write( "A = 3C+6 Now substitute A = 2B and C = B-5.
\n" ); document.write( "2B = 3(B-5)+6 Simplify.
\n" ); document.write( "2B = 3B-15+6
\n" ); document.write( "2B = 3B-9 Add 9 to both sides.
\n" ); document.write( "2B+9 = 3B Subtract 2B from both sides.
\n" ); document.write( "9 = B or B = 9
\n" ); document.write( "A = 2B Substitute B = 9.
\n" ); document.write( "A = 2(9)
\n" ); document.write( "A = 18
\n" ); document.write( "C = B-5 Substitute B = 9.
\n" ); document.write( "C = 9-5
\n" ); document.write( "C = 4
\n" ); document.write( "The ages are:
\n" ); document.write( "A is 18 years.
\n" ); document.write( "B is 9 years.
\n" ); document.write( "C is 4 years.
\n" ); document.write( "
\n" );