\[b_{n} = 6n - 2\]
\[b_{1} = 6 - 2 = 4;\]
\[b_{40} = 6 \cdot 40 - 2 = 240 - 2 = 238.\]
\[S_{40} = \frac{4 + 238}{2} \cdot 40 =\]
\[= 242 \cdot 20 = 4840.\]