The average value of an integrable function ƒ on the interval [a, b] is
1/(b-a)∫f(x)dx where integral is from a to b
in your case calculate:
1/(3-1)∫3x^2-6xdx where integral is from 1 to 3
For the second part you just solve f(c)= average value you found above