You can
put this solution on YOUR website!
M = Mike's age
D = Dan's age
M + D = 20 (eq 1)
In four years:
(D + 4) = (3/4)(M + 4) (eq 2)
You now have two equations in two unknowns. One way to solve this system
is to substitute for M (M = 20 - D) from (eq 1) into (eq 2) to get a form of (eq 2) that only has variable D. Then solve for D.
Once you have D, plug that value into (eq 1) to get M. Be sure to check that the answers for D & M work in (eq 2).