Im stuck on a problem which I have answered and need help to verifiy if I have done/understood it correctly.
Problem
If we have the following string: A,A,B,C,D,D,D,E,F,G
How many ways are there to rearrange the letters if the Letters, E,F,G have to appear in the same order.
My approach
I first decided to find the permutation of the letters except E,F,G and deal with these 3 last. So i ended up with $\frac{10\cdot9\cdot8\cdot7\cdot6\cdot5\cdot4}{2!\cdot3!}$
And now that there are 3 more letters left. (The last three) and that they have to appear in order, we have no choice other than placing the letters on order. i.e E,F,G
So the final answer is $\frac{10\cdot9\cdot8\cdot7\cdot6\cdot5\cdot4\cdot1\cdot1\cdot1}{2!\cdot3!}$
Question
I would like to know if I have attempted this problem correctly. If not could you point out where i have gone wrong and/or give me some hints?
Edit
E,F,G doesn't have to appear in next to eachother