Spivak: Calculus on Manifolds, p. 42:
Assuming "differentiating f(x,g(x)) = 0" means differentiating f \circ h, where
h : (-1,1) \rightarrow \mathbb{R}^2 \; | \; x \mapsto (I(x),g(x)), I(x) = x
and setting the result identically equal to zero, we have
2x+2g(x) \cdot g'(x) = 0,
as...