It's much less complicated than all the physics spouted above. The average speed of the group is not determined by averaging the time spent at 18 and/or 20 MPH, it's determined by the time it takes the group to cover the course.
Time your route and do the math; that'll tell you your average speed over a given course - point A to B - regardless of what your computer says.