find the coordinates of a point a where ab is the diameter of a circle