Here is the wording of my question:
In how many ways can a class with 20 students (12 boys and 8 girls elect a class president, vice president, and secretary if each student is willing to serve in any of the offices and no student can be elected to more than one office, and with at least one boy and one girl each among the students selected?
There are two ways that I am thinking to do this. The first way would be to take the total number of cases and subtract off the ones that only have boys and only have girls elected. So that would be:
Which equals $6564$.
The other way I thought to do it was to select first a boy, then a girl, then one final student from the pool left and multiply it by the 6 ways you can arrange the 3 positions, so:
Which equals $10368$.
In my mind, both ways of doing this should be equivalent. I have checked my computation several times over but it is possible I am continuing to make a mistake. Can anyone offer an explanation as to which way is the correct way and explain why the other way is wrong? Maybe both of them are wrong...
Thank you very much!