Find number of words made using letters of word 'EQUATION' if order of vowels do not change.
My attempt:- since we do not have to change the order of the vowels hence, _E_U_A_I_O_ we have $6$ places to fill the remaining letters. Therefore total number of cases $= C(6,3) \times 3! + 6 \times 3!= 156$ But the answer is $336$.
By using your approach with _E_U_A_I_O_, you have first to count the number of non-negative integer solutions of $$x_1+x_2+x_3+x_4+x_4+x_5+x_6=3$$ where $x_i$ is the $i$-th gap size. By Stars-and-bars we get $\binom{3+6-1}{6-1}=\binom{8}{5}$. Since the three consonants QTN to be placed in the gaps are different, this number has to be multiplied by $3!$ and we obtain $$\binom{8}{5}\cdot 3!=8\cdot 7\cdot 6=336.$$
I think it is easier if you change the counting strategy. The word "EQUATION" has $8$ letters. We choose first the places for the $5$ vowels EUAIO to arrange in order in $\binom{8}{5}$ ways, then we place the remaining three consonants QTN in $3!$ ways. Therefore we find again $336$.