distance and midpoint formula activity