Example 1. 1000 teachers and students of a school are to visit a place 100 km away from the school. There are five cars available, each capable of carrying 50 people, with a speed of 25 km/h, while the walking speed of a person is 5 km/h. How much time is required for all teachers and students to arrive at the destination simultaneously?
Let's assume they walk $3 x$ kilometers throughout the journey. According to the problem, we have
$$
\frac{100-3 x+100-4 x}{25}=\frac{x}{5} .
$$

Thus, $\frac{200-7 x}{5}=x$, which means $3 x=50$.
The total time spent walking and riding is
$$
\frac{100-3 x}{25}+\frac{3 x}{5}=12 \text{. }
$$

Answer: The total time to reach the destination is at least 12 hours.