document.write( "Question 878514: two years ago,a man was five times as old as his son. two years later,his age be 8 more than three times the age of the son. find the present age of the man and his son \n" ); document.write( "
Algebra.Com's Answer #530023 by JulietG(1812)\"\" \"About 
You can put this solution on YOUR website!
M-2 = 5(S-2) [two years ago, a man was five times as old as his son.]
\n" ); document.write( "M-2 = 5S - 10
\n" ); document.write( "Add 2 to each side
\n" ); document.write( "M = 5S - 8
\n" ); document.write( ".
\n" ); document.write( "M+2 = 3(S+2) + 8 [two years later, his age be 8 more than three times the age of the son.] (assuming this means \"two years from now\")
\n" ); document.write( "M+2 = 3S+6+8
\n" ); document.write( "Subtract 2 from each side
\n" ); document.write( "M = 3S +12
\n" ); document.write( ".
\n" ); document.write( "Substitute the value of M from the first equation into the second.
\n" ); document.write( "(5S-8) = 3S+12
\n" ); document.write( "Add 8 to each side
\n" ); document.write( "5S = 3S + 20
\n" ); document.write( "Subtract 3S from each side
\n" ); document.write( "2S = 20
\n" ); document.write( "Divide each side by 2
\n" ); document.write( "S = 10
\n" ); document.write( ".
\n" ); document.write( "If the son is 10, then the father is 42 (two years ago, the son would have been 8. At that time, his father was 5x as old, or 40. Add the two years to get 42.)
\n" ); document.write( "
\n" );