how to calculate the volume of a vertical prism