solution:
You have only two qualitatively different outcomes possible. Count 
the number of ways to get each of the two. 
There are just two possible outcomes here: the two missing socks 
make a pair (the best case) and the two missing stocks do not make a 
pair (the worst case). The total number of different outcomes (the ways 
to choose the missing socks) is 10 C 2 = 45. 
The number of best-case ones is 5; hence its probability is 5 /45 = 1/9 
The number of worst-case ones is 45 − 5 = 40; hence its probability is 40/45 = 8/9. 
On average, you should expect 4 • 1/ 9 + 3 • 8 /9 = 28/ 9 = 3 1/ 9 matching pairs.