Here are the steps to solve this problem: 1) Take the derivative of total cost (TC') = 400 - 40Q + 3Q^2 2) Set TC' equal to marginal revenue (MR) and solve for Q: TC' = MR 400 - 40Q + 3Q^2 = 309.75 - Q 3Q^2 - 39Q + 91.25 = 0 3) Solve the quadratic formula to find the optimal quantity: Q* = 13 4) Plug Q* back into the demand equation to find price: P* = 309.75 - 13 = 296.75 5) Calculate total cost at Q* and subtract from total revenue to find profit: