Java find the coordinates of the two circles