Answer:
For a utility maximization, the pizza's price has to be $3.
Explanation:
The condiction to said that the utility has been maximized, is that the marginal utility for every dollar is the same for every factor (in this case, pizza and beer).
We can express that as
Being dU/dpizza the marginal utility of pizza and dU/dbeer
If we want to know the price of pizza, we have to rearrange the equation
In this case, for a utility maximization, the pizza's price has to be $3.