Let the man buys x apples, y mangoes and z bananas at the respective prices of ₹ A, ₹ M, ₹ B, for each unit respectively.
As it is given that number of mangoes bought is same as the number as of bananas, hence quantity assumed is same as y.
Let the amount spent on apples be ₹ P.
Therefore, the amount spent on mangoes and bananas together is 1.5 P.
Now, P + 1.5 P = 140 or 2.5 P = 140 or P = 56
Amount spent on apples is Rs. 56 and the amount spent on mangoes and bananas together is ₹ 84
Again, x A = 56 ... (i) and yB + y M = 84
or y (B + M) = 84 ... (ii)
If mangoes cost the same as apples, no banana can be bought. i.e. (x + y)A = 140
or xA + yA = 140
From (i), yA = 140 – 56 = 84 ...(iii)
From (ii) and (iii), we have
or yB + y M + yA = 84 + 84 = 168
y (A + B + M) = 168
Additional amount required to be spent
= (168 – 140) = ₹ 28