Consider the string $AAAABBBB\Large B$
The probability of that string occurs is $\displaystyle {\left( {\dfrac{4}{{36}}} \right)^4}{\left( {\dfrac{{10}}{{36}}} \right)^5}$.
However, how many ways can four A's & four B's appear before the $\Large B~?$