Volume of a Prism = Area of cross section * Height

Volume of Pyramid = (1/3) * Area of base * Height

Let the area of the triangle be x.

Volume of Prism = x * 2

Volume of Pyramid = (1/3) * x * 5

Volume of Prism

Volume of Pyramid

Ratio of volumes:

Can you simply that?