A. How many ways can we pick 2r socks out of 2n socks and not get any matches?
nC2r × 2r
How many ways can we pick 2r socks out of 2n socks?
2nC2r
So, ( nC2r × 2r ) / ( 2nC2r ).
B. Pick exactly one matching pair means picking r-1 non-matching pairs and one matching pair.
How many ways can I pick r-1 non-matching pairs and one matching pair?
( nCr-1 ) × (r-1) × 2r-2
Divide this by the above denominator and you are done!