Solution:
Key idea: The customer wins only if all three balls are white or all three are red. Each case is a chain of dependent draws, so we multiply probabilities along the chain (multiplication theorem), then add the two cases because they cannot both happen.
Step 1 — Case 1: both transferred balls are white.
The first bag has 4 white and 4 red balls. The first transferred ball is white with probability 84; then 3 of the remaining 7 are white.
P(WW)=84×73
P(WW)=143
Step 2 — Case 1: the ball drawn from the second bag is white.
The second bag had 3 white and 5 red balls. After two white balls are added it has 5 white and 5 red, 10 in all.
P(W from bag 2∣WW)=105
P(all white)=143×105
P(all white)=283
Step 3 — Case 2: both transferred balls are red.
In the same way, the first ball is red with probability 84, and then 3 of the remaining 7 are red.
P(RR)=84×73
P(RR)=143
Step 4 — Case 2: the ball drawn from the second bag is red.
After two red balls are added, the second bag has 3 white and 7 red balls.
P(R from bag 2∣RR)=107
P(all red)=143×107
P(all red)=203
Step 5 — Add the two winning cases.
The two cases are mutually exclusive, so we add them over the common denominator 140.
P(win)=14015+14021
P(win)=14036
P(win)=359
Therefore, the probability that a customer wins the surprise gift is 359.