I was revising chain rule and I made up a problem to write down in my notes that uses it at least two times. Here it is, if a function $\zeta(x) = (z(x))^2$ where $z(x) = x + f(x), f(x) = \ln(g(x))$ and $g(x) = \frac{1}{2}x^2$ then $\zeta'$ or $\frac{d\zeta}{dx}$ is defined as, \begin{align*} \zeta'(x) & = \frac{d\zeta}{dz}\times \frac{dz}{df}\times \frac{df}{dg} \times \frac{dg}{dx}\\ \zeta'(x) & = 2(z(x))z'(x) \\ & = 2(z(x))(1 + f'(x)) \\ & = 2(z(x))(1 + (\ln(g(x)))') \\ & = 2(z(x))\Big(1 + \Big(\frac{1}{g(x)}\Big)g'(x)\Big) \\ & = 2(z(x))\Big(1 + \Big(\frac{1}{g(x)}\Big)x\Big) \\ \end{align*}
Did I get it right?