For example, “abfde” CANNOT be a password. Passwords with repeated letters are allowed.
(a) If the length of the password is 2, how many different passwords may be formed?
(b) If the length of the password is 3, find the number of different passwords begins with ‘a’ or ends with ‘e’ may be formed