40 points will pick the brainliest i need this fast find volume of both and show work and select the right answer

Your answer is the first option, “The cylinder had the greater volume”.
We can find the volume of the rectangular prism simply by doing 2 × 2 × 8, as the area of a square is just base × height, and then we multiply that by the depth of the prism. This makes 32 in³.
The volume of the cylinder can by found by finding the area of the circle and multiplying it by the height of the cylinder. The area of a circle is found by πr², which means we can do π × 1.5² × 8 to get the volume. This gives us 18π, or approximately 56.5 in³, which is much greater than the rectangular prism.
I hope this helps!