Let the quantity of apples and bananas purchased be ‘x’ and ‘y’
By the given condition
x + y = 50 … (1)
Cost of one kg of apple = 1800/x
Cost of one kg of banana = 600/y
By the given condition
One kg of apple = 2(600/y)
Total cost of fruits purchased = 1800 + 600
(x) x 2(600/y) + y(600/y) = 2400
1200x/y = 2400 – 600 = 1800
1200 x = 1800 x y
x = 1800x/1200 = 3y/2
Substitute the value of x in (1)
(3y/2) + y = 50
5y/2 = 50
5y = 100 ⇒ y = 100/5 = 20
x = 3y/2 = (3 x 20)/2
= 30
The quantity of apples = 30 kg
The quantity of bananas = 20 kg