Total −n(A∪B)=2!2!6!−(n(A)+n(B)−n(A∩B)) =2!2!6!−(2!5!+2!5!−4!)=180−96=84
Set A represents number of ways when G′s are together
Set B represents number of ways then E's are together
Aliter: GGEEAR
Number of words when G's are separated =2!4!⋅5C2=120
Number of words when G's are separated but E's are together =3!×4C2=36 ∴ Number of ways when no two alike letters are together =120−36=84