Volume of prism is 1/3 * area of base* height in this case base is square so we will put the area of square and volume of cylinder is pi * r^2 * height equate both the volumes u will surely get your answer
area of square = (side)^2 here side is 9 so can u determine the area?