\[a_{1} = 10;\ \ d = 5.\]
\[S_{n} = 135;\ \ n = ?\]
\[135 = \frac{2 \cdot 10 + 5 \cdot (n - 1)}{2} \cdot n\]
\[270 = (20 + 5n - 5) \cdot n\]
\[15n + 5n^{2} - 270 = 0\ \ \ \ \ |\ :5\]
\[n^{2} + 3n - 54 = 0\]
\[n_{1} + n_{2} = - 3;\ \ n_{1} \cdot n_{2} = - 54\]
\[n_{2} = 6\ (ч) - легковой\ \]
\[автомобиль\ догонит\ грузовой.\]
\[Ответ:через\ 6\ ч.\]