A firm operating in a monopolistically competitive market structure maximizes profits by equating marginal revenue price total revenue and marginal cost average total cost total cost?