In the selection, the order doesn't matter, then you could use a combination. The formula is:

Where n is the number of things to choose from and r is the amount we choose.
Then if there are 6 teaches and the committee must be formed with 3 of then, the combinations are:

And also there are 10 students and the committee must be formed by 7 of them, then the combinations are:

And finally, the total number of ways the committee could be made is:

Answer: 2400 ways