A bit late to the game but I recently gave a variant of this question to my top year 9 class. Understandably they struggled and requested an explanation, so posting here in case it helps any future students:
These rectangles and curves questions pop up quite a bit in relation to inequality proofs, so it's good to get comfortable with the technique. Here's a few similar questions I've seen on this front: