I'm reading Carrol text on general relativity, on page 96 they arrive to the term $ \begin{equation} \frac{\partial x^{\mu}}{\partial x^{\mu '}}\frac{\partial x^{\lambda}}{\partial x^{\lambda '}}\frac{\partial^2 x^{\nu '}}{\partial x^{\mu}\partial x^{\lambda}}\tag{1} \end{equation}
\begin{equation} \frac{\partial x^{\mu}}{\partial x^{\mu '}}\frac{\partial x^{\lambda}}{\partial x^{\lambda '}}\frac{\partial^2 x^{\nu '}}{\partial x^{\mu}\partial x^{\lambda}}.\tag{1} \end{equation}
Can I contract this expression to get
\begin{equation} \frac{\partial^2 x^{\nu '}}{\partial x^{\mu '}\partial x^{\lambda '}}~?\tag{2} \end{equation}
I'm using thatthe chain rule $$\frac{\partial x^{\mu}}{\partial x^{\mu '}} \frac{1}{\partial x^{\mu}}=\frac{1}{\partial x^{\mu '}}\tag{3}$$$$\frac{\partial x^{\mu}}{\partial x^{\mu '}} \frac{\partial}{\partial x^{\mu}}=\frac{\partial}{\partial x^{\mu '}}\tag{3}$$ (which I think is correct).