The function you are given here is [tex]\geq 0[/tex] in [-2,2]. This makes things quite a lot easier.
By integration you can find out the area under the curve. When you say you'd like to know the average value, it means this: replace the function by a constant one that has the same area under its curve (this time it must be a rectangle).
I hope it's clear now.
Best regards