I think its from Edexcel June 2003 Maths A 1387 (Non Calc):
A bag contains 3 black beads, 5 red beads, and 2 green beads. Gianna takes a bead at random from the bag, records it colour and replaces it. She does this two more times.
Work out the probability that, of the three beads Gianna takes, exactly two are the same.
Thanks to anyone who helps!