To calculate how many groups of 6 he can pick out of 16 students you have to calculate a combination. To do so you have to apply the following formula:
Where
n represents the total number of students in the class
r represents the number of students he wants to pick up
So for this exercise you have to use n=16 and r=3
The principal can pick up to 560 different groups of Ms Guzman's class.