A hint to get started
Arrange MATHEMATICS by counting its repeated letters
In how many ways can the letters of the word MATHEMATICS be arranged?
CJC · Lecture · Self-Practice 1
Decide whether order matters and repetition is allowed; then count stages or disjoint cases.