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