Find the Derivative \( \frac{dy}{dx} \)Given:\[ y = \cos(x^2) + \cos(2x) + \cos^2(x^2) + \cos(x^x) \]