Given parameters :
To find :
Solution with details :
Let us take the age of Donny as x years - i
According to the given question we have ,
Total ages of three people = Sum of their ages