What is the average value of a function f(x)=3x22 on the interval [0,2]?