Given Hari age =5x
given Harry age=7x
4 years later both of their age is =5x+4
= 7x+4
after this their age are given = 3:4 =3/4
=5x/7x = 3/4 (division methord)
5x+4
7x+4
=20x+16=21x+12
=21x-20x=16-12
= x=4
Hari’s age = 5x years = (5 × 4) years = 20 years
Harry’s age = 7x years = (7 × 4) years = 28 years
Therefore, Hari’s age and Harry’s age are 20 years and 28 years respectively.