5. Suppose that the firm operates in a perfectly competitive market. The market price of its product is $\$ 50$. The firm estimates its cost of production with the following cost function: $T C=10+20 Q-8 Q^{2}+Q^{3}$ A) What level of output should the firm produce to maximize its profit? B) Determine the level of profit at equilibrium. C) What minimum price is required by the firm to stay in the market?