Volume of the square pyramid is given as,
[tex]V=\frac{1}{3}Bh[/tex]where,
[tex]\begin{gathered} B=\text{ area of the base.} \\ B=a^2 \\ B=15^2 \\ B=225in^2 \end{gathered}[/tex]So, the volume is,
[tex]\begin{gathered} V=\frac{1}{3}\times225\times12 \\ V=225\times4 \\ V=900in^3\text{ } \end{gathered}[/tex]