Before I would attempt to answer this I would want to be sure about the definition of "mean".
Probably this means (1/6)∫(2x2 + 4)dx from 6 to 12.
In some situations it could also mean ∫x(2x2 + 4))∫dx/(2x2 + 4)dx...both integrals evaluated between 6 and 12