For example we have this question : Find the coefficient of $x^6$ in the following
$\frac{\left(x^{2}+x+2\right)^{9}}{20}$
So using multinomial Theorem which is this :
$\left(x_{1}+x_{2}+\cdots+x_{k}\right)^{n}=\sum_{b_{1}+b_{2}+\cdots+b_{k}=n}\left(\begin{array}{c} n \\ b_{1}, b_{2}, b_{3}, \dots, b_{k} \end{array}\right) \prod_{j=1}^{k} x_{j}^{b_{j}}$
I have to first find out the combinations of power for which I am going to get $x^6$ then i have to calculate the multinomial coefficient multiplied by the $2$ raised to some power for all of those combinations.
Is there an easier way to somehow change this question into some other question then use Binomial or some other theorem to solve it quickly ?