A prism and a pyramid both have this triangular base. If both shapes have the same height and the volume of the prism is 540 cubed inches, what is the volume of the pyramid?

A. 540 cubed inches
B. 180 cubed inches
C. 50 cubed inches
D. 25 cubed inches

B. 180 cubed inches

Since the prism and the pyramid have the same base and height, their volumes are proportional. The volume of the pyramid is one-third of the volume of the prism.

540 / 3 = 180 cubed inches

Therefore, the volume of the pyramid is 180 cubed inches.