2. Variant 1. At the intersection of perpendicular roads, a highway from Moscow to Kazan and a road from Vladimir to Ryazan intersect. Dima and Tolya set out with constant speeds from Moscow to Kazan and from Vladimir to Ryazan, respectively. When Dima passed the intersection, Tolya had 900 meters left to reach it. When Tolya passed the intersection, Dima was 600 meters away from it. How many meters will be between the boys when Tolya has traveled 900 meters from the moment he crossed the intersection?
Answer: 1500.

Solution: When Tolya has traveled 900 meters, Dima will have traveled 600 meters, so at the moment when Tolya is 900 meters from the intersection, Dima will be 1200 meters from the intersection. According to the Pythagorean theorem, the distance between the boys is 1500 meters.