Distance – The length along a line or line segment between two points on the line or line segment.
Section formula define – The section formula helps in finding the coordinates of a point dividing the coordinates of a point dividing a given line segment into two parts such that their lengths are in a given ratio.
Solution:-
From the question it is given that,
The distance between the points and assume the two points be and respectively.
Now, squaring on both side we get,
By transposing we get,
Now, take out common in above terms we get,