Answer
The fundamental counting rule can be used.
Work Step by Step
Replacement is used, therefore both permutations rules and the combinations rule can't be used, because they can be used only in events without replacement. The factorial rule cannot be used either because of the same reason. Therefore the fundamental counting rule can be used.