You can put this solution on YOUR website! Something is wrong with your problem setup.
In 6 years, she will be M+6 and the son will be S+6.
Substitute eq. 1 into eq. 2,
Then the son would be,
Typically the solutions are integers first off and secondly no negative ages are allowed.
I also changed the problem in case the mother is five times older than his age today.
Then,
and then
Again typically the solutions are in integers values.
Please check the problem and repost if needed.
You can put this solution on YOUR website! The son is 21 years younger than the mother. In six years she will be five times as old as him. What age will the son be?
------------
s = m - 21 ******* Always 21 yrs difference
5(s + 6) = m + 6 ***** 6 yrs from now
--------
5s+30 = m+6
Sub for s
5(m-21) + 30 = m+6
5m - 75 = m + 6
4m = 81
m = 20.25
Makes the son's present age negative.
Not a good problem.