We are calculating the average of the left- and right-hand Riemann sums, which also equals the trapezoidal sum. There are 6 1/2-minute time intervals, so we are summing the areas of 6 rectangles, each of which is 1/2 wide. The heights will be the average of the y-values of the rate function at the endpoints of these subintervals: thus, we calculate the height of the first rectangle by taking (40 + 38) / 2 = 39.
A = 1/2 (39 + 37 + 35 + 33 + 31 + 29) = 102 liters