Theory
Volume is the amount of space inside a 3D shape. Volume uses cubic units such as cm³ or m³.
For a cuboid, volume = length x width x height.
A prism has the same cross-section all the way through.
For any prism, volume = area of cross-section x length.
The cross-section might be a rectangle, triangle or trapezium. Find that area first, then multiply by the prism length.
Check that all lengths are in the same unit before calculating volume.
For a triangular prism, find the triangle area using 1/2 x base x height, then multiply by the prism length.
If the volume and cross-section area are known, find the prism length by dividing volume by cross-section area.
Do not confuse volume with surface area. Volume fills the inside; surface area covers the outside.