If f(x)=(x+1)^3(x^2-1)^2, what is the