This is an hypergeometric problem. The denominator is 20C5
Note nCr is the binomial coefficient of pick r from n.
The numerator is 12C5 + 8C5.
The probability is 1 - (numerator/denominator)
The numerator is the number of ways of picking either a committee of 5 women or of 5 men.
If you still don't understand the anser, please send me a message.