First you have to find the center, which is at the intersection of the perpendicular bisector of the chord defined by the 2 given points and the given line.
Then you need to get the radius of the circle which will be the distance between the center and either of the given points.
Then you have the information you need to write the equation of the circle.
This is tedious analytic geometry, but it is not hard!