Find the equation of the circle tangent to the $x$-axis at the origin and tangent to the line $4x-3y+24=0$.
My Approach:
Let the equation of the required circle be: $$x^2+y^2+2gx+2fy+c=0$$
Let the equation to the tangent at origin $(0,0)$ to the above circle be $gx+fy+c=0$.
Then, what should I do? please help me to continue.
Thanks in Advance.

A circle tangent to $x$-axis in $(0,0)$ has its center in $C_0(0,y_0)$ and its radius is $|y_0|$. Thus its equation has the form:
$$\tag{1}x^2+(y-y_0)^2=y_0^2$$
The distance from the center $C_0(x_0,y_0)=(0,y_0)$ of the circle to the straight line is (see (http://mathworld.wolfram.com/Point-LineDistance2-Dimensional.html)):
$$\frac{|4x_0-3y_0+24|}{\sqrt{4^2+(-3)^2}}=\frac{|-3y_0+24|}{5}$$
This distance must be equal to the radius $|y_0|$ giving the following equation:
$$\frac{|-3y_0+24|}{5}=|y_0| \ \ \Leftrightarrow \ \ -3y_0+24=\pm 5 y_0$$
which has 2 solutions: $y_0=3$ or $y_0=-12$ giving, (see (1)):
either the equation $x^2+(y-3)^2=3^2$ i.e., $x^2+y^2-6y=0$ (center $(0,3)$, radius 3),
or the equation $x^2+(y+12)^2=12^2$ i.e., $x^2+y^2+24y=0$ (center $(0,-12)$, radius = 12).