Unfortunately, the provided information is not sufficient to calculate the volume of the prism and pyramid. In order to calculate the volume of a prism or pyramid, we need the dimensions of the base (length and width for a prism, and base length and base width for a pyramid). Without this information, we cannot calculate the volume of the shapes.