I need help with the explanation for this one.

If T (r)

and r = \sqrt{x^2+ y^2}


This makes

\frac{\partial T}{\partial x} = \frac{x}{r}\frac{dT}{dr}

Now I need to find the second derivative:

Using operators

\frac{\partial}{\partial x}(T) = \frac{x}{r}\frac{d}{dr}(T)

For the second derivative it would become

\frac{\partial}{\partial x}(\frac{dT}{dx}) = \frac{\partial}{\partial x}(\frac{x}{r}\frac{dT}{dr})

I understand upto this point, but then I do not understand how it turns up becoming:

\frac{\partial}{\partial r}(\frac{x}{r}\frac{dT}{dr})\frac{\partial r}{\partial x}