In order to solve these sort of problems, we can set up 2 equations from the 2 statements.

We can subsitute the value of f, our first equation, into the second equation and solve like this:

Then we put the the son's age, 20, back into one of our equations and solve for the other value.

Thus, the father is 45 years old and the son is 20 years old.