When the word ANIMAL is arranged in alphabetical order, we get AAILMN, then rank of word ANIMAL is, AA......4! AI.......4! AL.......4! AM......4! ANA......3! ANIA......2! ANIL....... 2! ANIMAL......1 Then rank is x=107 Similarly for word PERSON the alphabetical arrangement is ESORNP then rank of PERSON is, EN.....4! EO.......4! EP.......4! ER......4! ESN......3! ESON......2! ESOP.......2! ESORNP...... Then rank is x=107