Given:
Ravi is 3 times the age of Priya
Before 4 years, Ravi was 8 years older than Priya.
Find:
their present age
Solution:
Let Ravi's age be x years and Priya's age be y years.
Ravi is 3 times the age of Priya
⟹ Ravi's age = 3 * Priya's age
⟹ x = 3y -- equation (1)
And,
Before 4 years, Ravi was 8 years older than Priya.
Priya's age before 4 years = (y - 4) years.
Ravi's age before 4 years = (x - 4) years.
According to the above condition,
⟹ x - 4 = y - 4 + 8
Substitute the value of x from equation (1)
⟹ 3y - 4 = y + 4
⟹ 3y - y = 4 + 4
⟹ 2y = 8
⟹ y = 8/2
⟹ y = 4
Substitute the value of y in equation (1).
⟹ x = 3(4)
⟹ x = 12
Therefore,
Present age of Ravi = x = 12 years
Present age of Priya = y = 4 years.
I hope it will help you.
Regards.