There are very many ways which depend on the level of your mathematical sophistication.
1
A line can be named in two primary ways: by using two points on the line (e.g., line AB) or by a single lowercase letter (e.g., line l). The choice of points can vary, allowing for multiple combinations, but each pair of points uniquely defines the same line. Thus, while there are countless pairs of points, the names themselves refer to the same geometric entity.
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
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