How do you find the derivative of cos(x^2)?