5 year hence, ratio of ages of A and B will be 7 : 5 and difference between their ages will be 4 years. What are present ages (in years) of A and B respectively?
5 years, 9 years
6 years, 5 years
9 years, 5 years
9 years, 6 years
C.
9 years, 5 years
Let A's present age = (7x - 5) years
B's present age = (5x - 5) years
According to the question,
7x - 5 - {5x - 5} = 4
⟹ 7x - 5 - 5x + 5 = 4
⟹ 2x = 4, ⟹ x = 2
∴ A's present age = 7 x (2) - 5 = 9 yrs
B's present age = 5 x (2) - 5 = 5 yrs