Using the arrangements formula, it is found that they can stand in the line in 80,640 ways.
The number of possible arrangements of n elements is given by the factorial of n, that is:
[tex]A_n = n![/tex]
In this problem, we have that:
Hence the number of ways in which they can be lined up is given by:
N = 2! x 8 x 7! = 80,640.
More can be learned about the arrangements formula at https://brainly.com/question/25925367
#SPJ1