Let the present age of Ramu be x years.
Ramu's age 5 years ago = (x – 5) years
Ramu's age 9 years hence = (x + 9) years
Given, Ramu's age 5 years ago × Ramu's age 9 years hence = 15
Thus, the present age of Ramu is 6 years
Four years ago , rahim's age was three times Ramu's age .after two years ,it would be just double . What are their ages now?