A hint to get started
Keep the consonants of MINIMUM together
If the letters of the word MINIMUM are arranged in a line at random, in how many ways can this be done such that all the consonants are together?
CJC · Lecture · Example 12
Decide whether order matters and repetition is allowed; then count stages or disjoint cases.