5. (3 points) A train takes 24 seconds to pass through a 285-meter tunnel and 22 seconds to pass over a 245-meter bridge. If this train meets another train that is 135 meters long and travels at a speed of 10 meters per second, the two trains will take $\qquad$ seconds from the moment they meet until they are completely past each other.
5. (3 points) A train takes 24 seconds to pass through a 285-meter tunnel and 22 seconds to pass over a 245-meter bridge. If this train meets another train that is 135 meters long and travels at 10 meters per second, the two trains will take $\qquad$ seconds to completely pass each other.

【Solution】The speed of the train is:
$$
\begin{aligned}
& (285-245) \div(24-22) \\
= & 40 \div 2, \\
= & 20 \text { (meters); }
\end{aligned}
$$

The length of the train is:
$$
\begin{array}{l}
20 \times 24-285 \\
=480-285, \\
=195 \text { (meters); }
\end{array}
$$

The time it takes for the train and the freight train to completely pass each other is:
$$
\begin{aligned}
& (195+135) \div(20+10), \\
= & 330 \div 30, \\
= & 11 \text { (seconds). }
\end{aligned}
$$

Answer: The train and the freight train will take 11 seconds to completely pass each other.