The midpoint $M$ is given by the average of the coordinates of $P$ and $Q$. So we have:
$$M\left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}\right)$$
Now, let's find the distances $d(P, M)$, $d(M, Q)$, and $d(P, Q)$.
The distance between two points $(x_1, y_1)$ and
Show more…