Inside an angle two points, \(A\) and \(B\), are given. Construct a circle which passes through these points and cuts the sides of the angle into equal segments.