Relationship between the volume of a pyramid and a prism