Worked solution from the Probability Paper 5 Probability & Statistics 1 booklet, Part 1 of 3.
Draw a first set of branches for the ball taken from box A, then a second set for the ball taken from box B. Box B then holds one extra ball, so it has 5 + x balls.
First branches (box A): green 69, yellow 39 [1]
After a green ball is added, box B has 5 green and x yellow. From the green branch: green 55 + x [1]
and yellow x5 + x [1]
After a yellow ball is added, box B has 4 green and 1 + x yellow. From the yellow branch: green 45 + x, yellow 1 + x5 + x [1]
Label every branch G or Y.
Both balls are the same colour: green then green, or yellow then yellow.
P(same colour) = 69 × 55 + x + 39 × 1 + x5 + x = 815 [1]
Combine over a common denominator: 30 + 3(1 + x)9(5 + x) = 815, so 15(x + 11) = 24(x + 5) [1]
15x + 165 = 24x + 120, so 45 = 9x, giving x = 5 [1]
▶ Starts at Q3 (27:09)
Starts at Q3 (27:09) · by Ci Xiang Ng. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.