\[x_{1} = 3;\ \ x_{40} = 57;\]
\[S_{40} = \frac{x_{1} + x_{40}}{2} \cdot 40 =\]
\[= (3 + 57) \cdot 20 = 60 \cdot 20 = 1200.\]
\[Ответ:1200.\]