The maximum profit is where the derivative is zero.
The derivative is -0.000009x²+9
9=0.000009x² gives two values for x, namely ±1000. We can obviously toss out the negative, as you can do in many real-world problems.
The profit is -0.000003(1000)³+9(1000)-200 = -3000+9000-200 = 5800 ■