I would like to discuss the relationship between implicit differentiation and the chain rule. Consider the following example:
$x^2 + y^2 = 25$
If we differentiate both sides, we are left with the following result:
$
\frac{\mathrm{d}}{\mathrm{d}x} \left ( x^2 \right ) + \frac{\mathrm{d}}{\mathrm{d}x} \left ( y^2 \right ) = \frac{\mathrm{d}}{\mathrm{d}x} \left ( 25 \right )
\implies
2x + \frac{\mathrm{d}}{\mathrm{d}x} \left ( y^2 \right ) = 0
$
The question, then, is what to do with $\frac{\mathrm{d}}{\mathrm{d}x} \left ( y^2 \right )$ since, in general, there isn't an easy way to express the relationship between $x$ and $y$. To tackle this problem, we'll pretend that there is a relationship. Explicitly, assume $y = f(x)$ for some unknown function.
We reframe the problem as follows:
$
\frac{\mathrm{d}}{\mathrm{d}x} \left ( y^2 \right ) =
\frac{\mathrm{d}}{\mathrm{d}x} \left ( f^2(x) \right ) =
2 f(x) \times \frac{\mathrm{d}f}{\mathrm{d}x} =
2 y \left ( \frac{\mathrm{d}y}{\mathrm{d}x} \right )
$
Hope this helped!