midpoint arithmetic pt2