Example 02 | Age-related problem

Problem
The sum of the parents' ages is twice the sum of their children’s ages. Five years ago, the sum of the parents' ages was four times the sum of their children’s ages. In fifteen years, the sum of the parents' ages will be equal to the sum of their children’s ages. How many children were in the family?
 

Solution