Look carefully at the pyramid shown below. The volume of a pyramid can be computed as shown
Pyramid:
Volume = (B × h)/3
B is the area of the base
h is the height
The base of the pyramid can be a rectangle, a triangle, or a square. Compute the area of the base accordingly