To find the ratio of their ages, divide the father's age by the son's age. The ratio is 45 divided by 10. By dividing both numbers by their greatest common divisor of 5, the fraction simplifies to 9 divided by 2. Therefore, the ratio of the ages of the father and son is 9:2.