It is true that Cavalieri's principle states that prisms with differently shaped bases can also have the same volume, so long as their heights and cross-sectional areas are the same. This is because volume = height * area of cross-section whatever the shape of this area.