Lagrangean optimiser

You are a consumer. Now choose your utility function:

U = A + B - A2 - B2

The price of a jar of peanut butter is £:00

The price of a loaf of bread is £:00

And you have a maximum budget of £:00