Calculus Examples

Find the Average Value of the Function f(x)=6cos(x)^2-12sin(x) , 0=x=2pi
I am unable to solve this problem.