Answer: N = 40,320
Explanation:
To arrange 10 people to a line of 8 people.
The number of ways is n = 10P8.
But since the condition given states that 2 people must stay in two particular slots.
The number of possible arrangements becomes;
N = number of ways of arranging the remaining people × number of ways of arranging the other 2.
N = 8P6 × 2P2
N = 8!/2! × 2!
N = 20,160 × 2
N = 40,320 ways