I would like to determine the point $C$ in this image:

(assume I have radius value).
After the hours of research and refreshing some memories from school days, I've got:
Please assume...
Point: (xCoordinate, yCoordinate):
A (center): $(x_0,y_0)$
B: $(x_1,y_1) $
Plugging them into equation of circle
$$x^2 + \left(y_0 + \left( \frac{y_1-y_0}{x_1-x_0}\right) (x-x_0)\right)^2 = r^2$$
Now how can I solve for $x$? I would like to have the equation that starts with "$x=$".
Thanks a bunch in advance.
