7. A drawer contains four red socks and five blue socks.
(a) Three socks are drawn one at a time and then put back before the next
selection. Determine the probability that
(i) exactly two red socks are selected
(ii) at least two red socks are selected
(b) Repeat part (a) without replacement