The provided figure is a composite solid shape composed of a pyramid and a triangular prism.
The volume of the figure is thus:
The formula for the volume of pyramid is :
The formula for the volume of a triangular prism:
The volume of the shape is thus: