Find the average value of f(x)=3x^2-2 x on the interval [3,6]

That would be

∫[3,6] 3x^2 - 2x dx
---------------------------
6-3