Question 22454
There are many ways to determine the maximum or minimum of a quadratic equation.  You should use the method you are presently studying.
Your equation has a maximum at x=3.  Put x=3 into the the profit equation
to find the maximum profit.

Cheers,
Stan H.