Profit (P) = 10x_xx − x_xx2
Maximum profit can be achieved when the differential of profit with respect to number of bags(x) is 0
i.e. dpdx\frac{dp}{dx}dxdp = 0
dpdx\frac{dp}{dx}dxdp = 10 - 2x = 0
10 = 2x
Then x = 102\frac{10}{2}210 = 5
Answer is C