P(x)=-3500+(400-x)x=\] \[-3500+400x-{{x}^{2}}\] On DIFFERENTIATING w.r.t.x, we get \[P'(x)=400-2x\] Put \[P'(x)=0\] for maxima or minima \[\Rightarrow 400-2x=0\] \[\Rightarrow x=200\] Now \[P''(x)=-2x\] \[\Rightarrow P''(200)=-400<0\] \[\therefore \,\,\,\,\,P(x)\] is maximum at \[x=200\] Hence 200 items should the firm SELL so that the firm has maximum profit.