Answer:
20 and 28
Explanation:
Let x represent the current age of Hari and y represent the current age of Harry
Since the current ratio is 5:7:
5/7 = x/y
→ 5y = 7x (1)
Hari's age will be x+4 and Harry's age will be y+4 four years later. Since the ration of their ages will be 3:4 four years later:
3/4 = (x+4)/(y+4) (2)
→ 3(y+4) = 4(x+4)
→ 3y + 12 = 4x + 16
→ 3y = 4x + 4 (Substitute the y as 7x/5 from the equation 1)
→ 3(7x/5) = 4x + 4
→ 21x = 20x + 20
→ x = 20
y = 7x/5 = 7(20)/5 = 28