Answer
The fundamental counting rule can be used.
Work Step by Step
Replacement is used, therefore permutation rules can't be used, because they can be used only in events without replacement. Therefore the fundamental counting rule can be used.