How do you find the intervals of increasing and decreasing using the first derivative given #y=(x+2)^2(x-1)#?