2.) In a bag, there are pieces of sweets and chocolates in the ratio 4:7. After Miss Lung has added 10 pieces of sweets to the bag, the ratio of sweets to chocolates becomes 6:7. How many pieces of chocolates are there in the bag?
Let no. of chocolate = x and no. of sweet = y.
So y : x = 4 : 7
that is y/x = 4/7 or 7y = 4x ...............(1)
After adding 10 pcs of sweet, quantity of sweet = y + 10
So (y + 10) : x = 6 : 7
that is (y + 10)/x = 6/7
7(y + 10) = 6x
7y + 70 = 6x ................(2)
Sub (1) into (2)
4x + 70 = 6x
2x = 70
x = 35 = No. of chocolates.