Find the average value of the function on the interval [0, 2].

I'm having trouble doing this because I'm actually not sure how. The professor rushed this topic into the last few minutes of the lecture, and unfortunately it's on the homework. If anyone could help walk me through it I would greatly appreciate it!