the formula of the volume of pyramid = 1/3*h*base
the volume of prism= base*h
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 a*base
the height of the prism is 3a so that the volume of the pyramid is 1/3*3a*base=a*base
the Answer of the ratio is 1/1
I hope that helps, and I hope that makes sense