x takes 3 hours more than y to walk 30 km. but if x doubles his pace, he is ahead of y by one and a half hours. find their speeds of walking.

Hi! consider x = A and y= B

Let the speed of A and B be x km/hr and y km/hr respectively.

We know that,

Given, time taken by A = time taken by B + 3 hr

∴ Time taken by A 3 hr = Time taken by B

Solving (1) and (2), we get

Putting the value of y in equation (1), we get

Thus, the speed of A is and speed of B is 5 km/hr.

Cheers!

**
**