Distance and midpoints

Find the distance between two points or the midpoint of two points.