A firm in a perfectly competitive market has the following cost function: c=1/3q3-5q2+30q+10 in the market- clearing price is 6, obtain the profit maximising level of output?