Volume of a prism = (area of base)(height)
Even if the base shape changes, if the area of the base and height remains the same,
would the volume be different?
Both shape's volumes would be 744 in3. The shape does not matter as long as the base area is the same.