How many strings of length 5 of the letters A, B, C, D, and E contain exactly one A and exactly one D if repetition of letters is allowed?
Melody and catmg already gave a great explanation: https://web2.0calc.com/questions/how-many-strings-of-length-5-of-the-letters-a-b-c