Final answer:
Melanie should consume fewer apples and more oranges to maximize utility.
Step-by-step explanation:
A rational consumer would only purchase additional units of some product as long as the marginal utility exceeds the opportunity cost. In the case of Melanie, her marginal utility is 12 for apples and 18 for oranges. Since Melanie has already spent all her lunch money, she should change her consumption decision to maximize utility by consuming more of the product with the higher marginal utility. Therefore, Melanie should consume fewer apples and more oranges.