4. A truck starts from the top of a hill and drives down. In the first second, it travels 5 inches, and in each subsequent second, it travels 7 inches more than in the previous second. The truck takes 30 seconds to reach the bottom of the hill. The distance it travels is ( ) inches.
(A) 215
(B) 360
(C) 2992
(D) 3195
(E) 3242
4. D.

Consider the distance the truck moves each second as an arithmetic sequence with the first term 5 and a common difference of 7. Then
$$
\begin{array}{l}
5+12+19+\cdots+208 \\
=\frac{5+208}{2} \times 30=3195 .
\end{array}
$$