I've been stuck on these for a while. Please guide me through all the steps because I actually want to understand this. I've got an exam coming up.
Consider the letters in the word "MATHEMATICS". In how many ways can these 11 letters be ordered so that:
(i) The two M's are next to each other.
(ii) The two M's are next to each other but the two A's are not.