your second part can be done easily
x.............female
y.................male
your ans ;
coefficient of x^2y^2
(1+x+y)^5
by multinomial theorem
5!/2!*2!
=30
now 2 ways are ppossible of making teams of 2 male and 2 female
so
30*2=60
i posted this earlier but in your other post