I have not learnt the multinomial theorem yet, and was trying to approach this using the binomial theorem. I divided the terms as $a$ being $(1+3x)$ and $b$ being $2x^3$.
I then used $${12\choose 3}(1+3x)^8(2x^3)^3$$. However now do I have to expand the second term again?
Please let me know where I am getting wrong. It seems there should be an easier way to approach this problem.
With multinomial theorem, we want the coefficient on $x^4$ terms. There are two terms that contain $x^4$. These are:
With coefficients respectively of: $$3\cdot 2\cdot \binom {12} {10,1,1}=\frac{6\cdot12!}{10!\cdot 1!\cdot 1!}=792$$ $$3^4\cdot\binom {12} {8,4,0}=\frac{81\cdot12!}{8!\cdot 4!\cdot 0!}=40095$$ Which then add to give your coefficient of $x^4$ of $40095+792=40887$