Circles touching the \(x\)-axis at the origin: \(x^2 + y^2 + 2ky = 0\) (centre \((0,-k)\)).
Differentiate: \(2x + 2yy' + 2ky' = 0\), so \(k = -\frac{x + yy'}{y'}\).
Substitute: \(x^2 + y^2 - \frac{2y(x + yy')}{y'} = 0\), i.e. \((x^2 + y^2)y' = 2xy + 2y^2y'\).
So \((x^2 - y^2)y' = 2xy\), hence \(g(x) = 2x\).
Answer: (2) \(2x\)