$dy/dx=f'(x)$ is a function of $x$, just as $f$ is. In order to differentiate the function $f'(x)$ with respect to $y$, a variable related to $x$, it must somehow be expressed as a function of $y$.
An analogy which may be helpful: $x^2-4$ is a function of $x$. Its derivative with respect to $x$ is $2x$, i.e., the function which takes $x$ to $2x$. Suppose we wrote $y=x^2$. Then $\dfrac{d}{dy}(x^2-4)=$ $\dfrac{d}{dy}(y-4)=1$, a constant.
Introduce the notation $f^{-1}$ for the inverse function of $f$ over some suitable interval $I$ in which $f$ is increasing or decreasing (which is required for the inverse to exist). Then $x=f^{-1}(y)$ for $y\in f(I)$, and so $f'(x)=f'(f^{-1}(y))$ for $y\in f(I)$. Having thus expressed $f'$ as a function of $y$, we can calculate its derivative with respect to $y$. Differentiate via the chain rule (Baby Rudin 5.5) and get $\dfrac{d}{dy}f'(x)=\dfrac{d}{dy}f'(f^{-1}(y))=f''(f^{-1}(y))\dfrac{d}{dy}f^{-1}(y)$. Now use Baby Rudin exercise 5.2 to get an expression for the second factor in this last expression.