What is the derivative of #(x-1)(x^2+2)^3#?