The ratio of walking speed between a and B is 7:5. A and B start from a and B at the same time. If they go in opposite directions, they will meet in 0.5 hours. If they go in the same direction, how long will it take for a to catch up with B?

The ratio of walking speed between a and B is 7:5. A and B start from a and B at the same time. If they go in opposite directions, they will meet in 0.5 hours. If they go in the same direction, how long will it take for a to catch up with B?

Let a's speed be 7x and B's speed be 5x, because they meet each other for 0.5 hours,
So the distance between AB and ab is (7x + 5x) * 0.5 = 6x
If two people walk in the same direction, the distance between them is 6x. Let a catch up with B in t hours,
So 7tx = 6x + 5tx can be obtained
The solution of the equation is t = 3
So it takes three hours for a to catch up with B
I'm glad to answer for you,