Hey sepoto.

The reason is for the 1/a is because that is the length of the interval. Remember that averages are defined to be average = total / length_of_interval. The total is the integral (since it is summing up everything) and the length is 2a - a = a.