Suppose the cost function for a firm is given by C(Q) = 100 + Q2. If the firm sells output in a perfectly competitive market and other firms in the industry sell output at a price of $10, what level of output should the firm produce to maximize profits or minimize losses? What will be the level of profits or losses if the firm makes the optimal decision?