Assume the box contains 12 balls: 4 red, 4 blue, and 4 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?