# The ages of Hari and Harry are in the ratio 5:7. Four years from now the ratio of their ages will be 3:4. Find their present ages.

**Solution:**

Let the common ratio between their ages be x.

Therefore, Hari’s age and Harry’s age will be 5x years and 7x years respectively

Four years later, their ages will be (5x + 4) years and (7x + 4) years respectively

Let's form a linear equation for the given problem statement.

According to the situation given in the question,

(5x + 4) / (7x + 4) = 3/4

4(5x + 4) = 3(7x + 4)

20x + 16 = 21x + 12

16 -12 = 21x - 20x

x = 4

This gives us 5x = 20, and 7x = 28

Thus, Hari's present age is 20 years, and Harry's present age is 28 years.

**Video Solution:**

## The ages of Hari and Harry are in the ratio 5:7. Four years from now the ratio of their ages will be 3:4. Find their present ages

### NCERT Solutions Class 8 Maths - Chapter 2 Exercise 2.6 Question 6

**Summary:**

The ages of Hari and Harry are in the ratio 5:7. Four years from now the ratio of their ages will be 3:4. The present ages of Hari and Harry are 20 and 28 years old respectively.