Distance and Midpoint Problems