How do you differentiate cos(x^2)cos(x2)?