Check the picture below.
so let's firstly find the slant-height of the pyramid or namely "sh"

so the area of the pyramid is really the area of four triangles whose altitude or height is 14.5 and with a base of 20, plus the area the 20x20 square on the base.
![\stackrel{ \textit{\LARGE Areas} }{\stackrel{\textit{four triangles}}{4\left[\cfrac{1}{2}(\underset{b}{20})(\underset{h}{14.5}) \right]}~~ + ~~\stackrel{ square }{(20)(20)}}\implies 580+400\implies \text{\LARGE 980}~in^2](https://img.qammunity.org/2024/formulas/mathematics/high-school/3u665qv8zogr9r4hb7ab5di355cgavp8kn.png)