Volume of pyramid:
[tex] V = \dfrac{1}{3} Ah [/tex]
where
A = area of the base of the pyramid
h = height of the pyramid
In this case, the area of the base is 9 in.^2.
The height is 10 in.
[tex] V = \dfrac{1}{3} (9~in.^2)(10~in.) [/tex]
[tex] V = 30~in.^3 [/tex]