a perfectly competitive firm facing a price of $50 decides to produce 500 widgets. its marginal cost of producing the last widget is $50. if the firm's goal is maximize profit, it should: