Given the following total profit function: π = 144X - 3X^2 - XY -2Y^2 + 120Y -35
1. Determine the level of output of each commodity at which the firm maximizes its total profit
2. Determine the value of the maximum amount of total profit of the firm.
Please explain and show work.