Imagine you're the coach for this squad. You pick four of the ten students for the first team ( ways of doing that). You then designate one of the other six students (doesn't matter who it is) to be a team captain, with instructions to choose two of the remaining five students to complete his/her team ( ways of doing that). The three left-over students form the third team, of course.