The ages of Karim and Rahim are in the ratio 9:4. Seven years hence the ratio of their ages will be 5:3.Find their present ages.