This function is a quadratic equation with a global maximum.
If you look carefully, the x-intercepts are x =10 and x = 200. Based on the characteristics of quadratic equation, the maximum lies in:
x = (10+200)/ 2 = 105
Then, you sub x = 105 into the equation, you will get the maximum profit:
f(105) = 18050