First, we look at the definition of a prism and of a cylinder. The volume of both prisms and cylinders is calculated the same way: multiply the area of the base times the height. Next, we calculate the volume of a cylinder that looks like a pipe (it's not "standing up"). The final answer needs rounded according to the rules for significant digits. Then we do the same for a triangular prism.
Volume of pyramids and cones — video lesson
Math Mammoth Grade 8 curriculum