Ali has molds to make ice cubes in a the shapes shown below. Ali says the volume of ice in shape 1, the rectangular pyramid, is three times the volume of ice in shape 2, the triangular pyramid. Is ali correct?

PLEASE SOMEONE HELP!!!!