If there are only two students, Stella and Ariana, there are only two ways they can stand in line, as there are only two positions in the line - first or second.
If Stella stands first and Ariana stands second, this is one possible arrangement. If Ariana stands first and Stella stands second, this is the other possible arrangement. Therefore, there are only 2 different ways the two students can stand in line.