Let there ages by a, ar, ar^2 (Ascending order)
Let the money to be divided is x Rs
The three equations given in the problem are
(a+3)/(ar^2+3)=(1/2) ------(i)
x*(a+3)/(a+ar+ar^2+9)=105 ------(ii)
x*(ar+3)/(a+ar+ar^2+9)-x*ar/(a+ar+ar^2)=15 ------(iii)
Try solving these set of equation. I have tried a bit but i am unable to solve till now. Do you have answer of this problem