find the centre of the circle passing through