Let the bananas in lot A be x and that in lot B be y.
Vijay sold 3 bananas for Rs 2 in lot A.
So, the cost of x bananas in lot A =
Now,
Cost of x bananas in lot A + Cost of y bananas in lot B = ₹400
⇒ 2x + 3y = 1200 .....(i)
Now, if he sells the first lot at the rate of Rs 1 per banana and second for Rs 4 for 5 bananas, then
= ₹460
⇒ 5x + 4y = 2300 .....(ii)
Solving (i) and (ii), we get
x = 300 and y = 200
So, the total number of bananas = x + y = 300 + 200 = 500.