document.write( "Question 1054540: the sum of A and B is 30 years and 5 years hence A will be three times as old as B. Find their ages. \n" ); document.write( "
Algebra.Com's Answer #669743 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
the sum of A and B is 30 years and 5 years hence A will be three times as old as B. Find their ages.
\n" ); document.write( "--------------------
\n" ); document.write( "A + B = 30
\n" ); document.write( "A+5 = 3(B+5)
\n" ); document.write( "---------------------
\n" ); document.write( "Substitute for \"A\" and solve for \"B\"::
\n" ); document.write( "30-B + 5 = 3B+15
\n" ); document.write( "------
\n" ); document.write( "4B = 20
\n" ); document.write( "B = 5 yrs
\n" ); document.write( "A = 25 yrs
\n" ); document.write( "-----------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "------------
\n" ); document.write( "
\n" );