Let the original sequence be T I M T R L.
Considering the above sequence, we have 3 cases
Case 1: When two scans misplaced are T’s.
Only one way possible T I M T R L as shifting places of T’s doesn’t make any difference.
Case 2: When one scan is T and other is one among M, I, R, L
One T can interchange place with M, I, R, L ⇒ 4possible ways Since, there are 2 T’s, number of ways possible = 4 + 4 = 8
Case 3: When both the scans misplaced are not repeated figure. This case is similar to selecting 2 out of 4 different objects.
Hence, number of ways = 4C2=6
Total number of arrangements possible = 1 + 8 + 6 = 15