dsThere are n socks 3 of which are red in a drawer There are n socks in a drawer, of which 3 socks are red. If 2 of the socks…byAnthony