The points A(−2,1)A(-2,1)A(−2,1) and B(6,5)B(6,5)B(6,5) lie on a circle whose centre lies on the line y=xy=xy=x. Find the centre.