How do you determine the intervals for which the function is increasing or decreasing given f(x)=x^3+3x^2-9x?