There are very many ways which depend on the level of your mathematical sophistication.
1
3 items (or people) can line up in 6 different sequences. 6 items (or people) can line up in 720 different sequences.
In a line, in 6 ways. Around a table, in 2 ways.
24
36
1
6 different ways
3 items (or people) can line up in 6 different sequences. 6 items (or people) can line up in 720 different sequences.
In a line, in 6 ways. Around a table, in 2 ways.
24
36
5x4x3x2x1=120
24 different ways.
27!
If the people are always facing forward? 24 ways.
6 ways. 3 x 2 x 1 = 6
6 ways