A point is given by coordinates $(x, y)$.
The midpoint of two points is the average of their coordinates. The distance between two points can be found with Pythagoras: the distance from $(0,0)$ to $(3,4)$ is $\sqrt{3^2+4^2} = 5$.
Remember
- Midpoint = average of the $x