Consider the points and If P is a point on the line such that is minimum, then the coordinates of P are
Consider a point A' the image of A in Therefore, the coordinates of are .
Notice that A and B lies on the same side with respect to Then is minimum, i,e., if B are collinear. Now, the equation of A'B is
or