(this may look familiar)
This would be a variation on the Fundamental Counting Principle, where there are five categories and the number of possible outcomes in each category is determined by the total number of possible outcomes, less how many choices have been removed from “play” (by already being chosen)
So, two ltters gives us 26 to choose from for the first, then 25 for the second, then we choose three numbers, without repeating, so there are 10 digits to choose from for the first, nine for the second and eight left to finish up. This gives us:
26 * 25 * 10 * 9 * 8 = 468,000 possible passcodes