Let $y=x$. Differentiate $y$ with respect to $x^2$.
My intuition tells me to go down a substitution route here. So, let $u=x^2~~ \Leftrightarrow~~x=\sqrt{u}$, then what we are looking to find is simply
$$\frac{d}{du}\sqrt{u}$$ which is $$\frac{1}{2\sqrt{u}}$$ as $\sqrt{u}=x$, $$\frac{d}{dx^2}~x=\frac{1}{2x}$$
is this approach/solution correct, or is there something fundamentally wrong here? Any help is appreciated.