3.   A firm in a perfectly competitive market will produ...