This screenshot is the question.

Answer: The rectangular prism has the greater volume because the cylinder fits within the rectangular prism with space to spare.
P.S. To the other answerer: Once you answer, the asker is no longer allowed to change the question. Use the "ask for details" comment button next time please.