Cost: TC(q) = 50 + 8q + q² (MC = 8 + 2q). You are a price taker. Choose output where P = MC to maximise profit.
Shut down if P falls below min AVC = 8. In the long run, entry and exit push P toward min AC ≈ $22.1.