the formula of the volume of pyramid = 1/3hbase
the volume of prism= baseh
we know that the height of the pyramid is three times more than the height of prism so that if the height of the prism is a - the volume of a prism is abase
the height of the prism is 3a so that the volume of the pyramid is 1/33abase=a*base
the Answer of the ratio is 1/1
I hope that helps, and I hope that makes sense