Therefore, two equations can be listed. According to the formula of the distance between two points, the line segment AB=2, and the third equation can be listed. Since both point A and point B are on the straight line L, the fourth equation can be listed between point A and point P and between point B and point P, and a, b, c and d can be obtained by solving this equation group. Then a straight line is determined by two points.