Assume the box contains 7 balls: 3 red, 2 blue, and 2 yellow. A ball is drawn and its color noted. If the ball is yellow, it is replaced; otherwise, it is not. A second ball is then drawn and its color is noted.
What is the probability that the first ball was yellow, given that the second was red?
