In a bag there are
See development and solution
Development:
We have
Also, as it has been said, the order does not matter. So it is a question of a combination with repetition, and therefore according to the expression given previously we have: