midpoint and distance formula worksheet with answers