This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] The sum of all coefficients is $3^9=19683$. Remove the coefficients of $x^0$ ($2^9=512$), $x^8$ ($\binom98\cdot2=18$) and $x^9$ ($1$): $19683-512-18-1=19152$. Mean $=\frac{19152}7=2736$. Answer: 2736.