The volume of the prism is
.Where V = volume, B = area of the base,h = height of a solid.
Area of the base
.
The given height is
.

(Substitute
)
(Multiply:
)
The volume of the prism is 36 cubic centimeters.