There are 9 boys and 12 girls in a class. The teacher needs to create groups with three members for their class activity. How many groups are formed?