document.write( "Question 271038: Fred is 4 years older than barney, five years ago the sum of their age was 48, how old are they now, please use F for fred and B for barney, thank you \n" ); document.write( "
Algebra.Com's Answer #198459 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Fred is 4 years older than barney, five years ago the sum of their age was 48, how old are they now, please use F for fred and B for barney,
\n" ); document.write( "-----------------
\n" ); document.write( "Equations:
\n" ); document.write( "F = B + 4
\n" ); document.write( "(F-5) + (B-5) = 48
\n" ); document.write( "----
\n" ); document.write( "F = B + 4
\n" ); document.write( "F + B = 58
\n" ); document.write( "---
\n" ); document.write( "Substitute for \"F\" and solve for \"B\":
\n" ); document.write( "B+4+B = 58
\n" ); document.write( "2B = 54
\n" ); document.write( "B = 27 yrs (barney's age now)
\n" ); document.write( "---
\n" ); document.write( "Since F = B+4, F = 31 yrs (fred's age now)
\n" ); document.write( "=============================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );