Many similar problems were solved there with detailed solutions and explanations.
So, I will give you the guiding idea only:
Find the center of the circle as the intersection of the given straight line and the perpendicular bisector
to the segment connecting the two given points.