Upgrade to access all content for this subject

Let $g'(x)=\cos x$ and $f(x)=\sin(x^2)$. Which of the following is equivalent to $\cfrac{d}{dx}(f(g(x))$?

$2\cos x \cdot g(x) \cdot \cos(g^2(x))$

$ -\sin 2x \cdot \cos (\cos^2 x)$

$2x\cos(x^2) \cdot g(x) \cdot \cos(x)$

$\sin(x^2) \cos x+2x\cos(x^2)g(x)$