How do you find the derivative of #(x^3+1)^2#?