a square pyramid has a squarish base, thus is called a square pyramid.
now, this pyramid has sides of 32 on its base, thus its base is really a 32x32 square, whose area is ... well, 32*32.
[tex]\bf \textit{volume of a pyramid}\\\\
V=\cfrac{1}{3}Bh~~
\begin{cases}
B=area~of\\
\qquad its~base\\
h=height\\
------\\
B=\stackrel{32\times 32}{1024}\\
h=28
\end{cases}\implies V=\cfrac{1}{3}(1024)(28)[/tex]