Calculating Midpoint and Distance

of 1