Answer:
Yes, Bill's current consumption is optimal.
Explanation:
Bill's marginal utility per dollar is greater for hamburgers than Pepsi:
Since Bill's marginal utility per dollar for hamburgers is higher than for Pepsi, he should keep consuming more hamburgers and less Pepsi.