Finding the average

Formatted how to find the average