A drawer contains a dozen brown socks and a dozen black socks, all unmatched. A man takes socks out at random in the dark.

a) How many socks must he take out to be sure he has at least 2 socks of the same color?
He only needs 2 socks of the same so lets assume the worst case scenario where the first sock is black and the second is brown. The next sock will ensure that the one of either of the socks will find a pair.
Answer - 3

b) How many socks must he take out to be sure he has at least 2 black socks?
We assume that there was a worst case scenario where the man pulled out 12 brown socks. He would then have to pull out 2 more.
Answer - 14