Hint:
1. How many three-letter words can you make with no $a$'s?
2. How many with exactly one $a$?
3. How many with both $a$'s?
These are disjoint sets so you can add them up.
Hint:
1. How many three-letter words can you make with no $a$'s?
2. How many with exactly one $a$?
3. How many with both $a$'s?
These are disjoint sets so you can add them up.