Statement: A boy, Petya, stands between villages A and B, which are connected by a road.…
- User
Statement:
A boy, Petya, stands between villages A and B, which are connected by a road. He is 20 km away from village A. His dad starts walking from village A at a speed of 2 km/h, and his mom starts cycling from village B at a speed of 12 km/h. Petya also starts moving at the same time, always walking towards the closer parent. After 2 hours, he reaches one of his parents for the first time. Petya's speed is 3 km/h, and he changed direction exactly once.
Question:
Find the distance between the villages.
- Assistant
Let's analyze the problem step by step to determine the distance between villages A and B.
Given:
- Initial Positions:
- Petya is 20 km away from village A.
- Therefore, Petya is ( D - 20 ) km away from village B, where ( D ) is the distance between A and B.
- Initial Positions: