Two beads are drawn at random, one after the other, with replacement, from a box…