we have to see the worst case what can happen
In first draw suppose we pulled black sock and in second draw we pulled blue sock , so we have to do one more draw as in third draw we can pull either black or blue and whatever we will draw a matching pair is guaranteed
so 3 pull required at minimum