this graph illustrates that a firm can minimize its losses by producing where