To determine the intervals at which the function is increasing or decreasing, we first need to calculate its derivative:

We need to find the values of the roots of the expression above:
![\begin{gathered} x=\frac{-18\pm\sqrt[]{18^2-4\cdot9\cdot(-27)}}{2\cdot9} \\ x=\frac{-18\pm\sqrt[]{1296}}{18} \\ x=(-18\pm36)/(18) \\ x_1=(-18+36)/(18)=(18)/(18)=1 \\ x_2=(-18-36)/(18)=(-54)/(18)=-3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/f44f4yh8akpgbcrg0rvbbdmtoc0ooq9hmb.png)
We can rewrite the expression for the derivative as:

Therefore the derivative is positive when the signs of "x-1" and "x+3" are equal, therefore there are two possibilities, that they are both negative and both positive. We have:

They are both negative when x<-3 and both positive when x>1.
So the function is increasing at the intervals:

And decreasing on the interval:
