There are 2 ways by which smuggler would be caught.
- Both capsules contain narcotic drugs
- One of them contain narcotic drugs
Total combinations where both capsules contain narcotic drugs = $\large \binom{5}{2} = 10$
Total combinations where one of the two capsules contain narcotic drugs = $\large \binom{5}{1} \binom{5}{1} = 25$
Total number of combinations = $\large \binom{10}{2} = 45$
Probability = $\large \frac{10+25}{45} = \frac{7}{9} = 0.777777778$