There are two bags of stones labelled A and B. In Bag A, there are 26 black stones and 20 white stones. In Bag B, there are 39 black stones and 30 white stones. How many black and white stones should be transferred from Bag B to Bag A such that 60% of the stones in Bag A and 50% of those in Bag B are black?
blackwhiteA2620B3930sum6550
blackwhiteA26+x20+yB39−x30−ysum6550
[(39−x)+(30−y)]⋅50%=39−x(39−x)⋅0.5+(30−y)⋅0.5=39−x(39−x)⋅(1−0.5)=(30−y)⋅0.5(39−x)⋅0.5=(30−y)⋅0.539−x=30−y30−y=39−xx=39−30+yx=9+y
[(26+x)+(20+y)]⋅60%=26+x(26+x)⋅0.6+(20+y)⋅0.6=26+x(26+x)⋅(1−0.6)=(20+y)⋅0.6(26+x)⋅0.4=(20+y)⋅0.626+x=(20+y)⋅32|x=9+y26+9+y=(20+y)⋅3235+y=(20+y)⋅3235+y=30+y⋅32y⋅32−y=35−30y⋅12=5y=10x=9+yx=9+10x=19
blackwhiteA26+19=4520+10=30B39−19=2030−10=20sum6550
60 % of (45+30=75) is 45 okay!
50 % of (20+20=40) is 20 okay!
