.
You have 5 opportunities to place any of 5 symbols A, B, C, 1, 2 in the first (leftmost) position.
You have 5 independent opportunities to place any of 5 symbols A, B, C, 1, 2 in the next, second position.
Thus placing 5 symbols independently in two positions, you have 5*5 = 25 opportunities.
Then you have 5 independent opportunities to place any of 5 symbols A, B, C, 1, 2 in the next, third position.
Thus placing 5 symbols independently in three positions, you have 5*5*5 = 125 opportunities.
Then you have 5 independent opportunities to place any of 5 symbols A, B, C, 1, 2 in the next, fourth position.
Thus placing 5 symbols independently in four positions, you have 5*5*5* = = 625 opportunities.
It means that in all, you may have different four-character passwords under the given conditions. ANSWER
------------
It is a standard mantra solving such problems.
MEMORIZE it (!)