Let The Amount Babita Receive Be x
Ahmed'share = 5x
Ahmed's share is 3 times the share of john
3*John's share = ahmed's share = 5x
John's share = 5x/3
total = 1380
x+5x+5x/3 = 1380
3x+15x+5x / 3 = 1380
23x/3 = 1380
x = 1380*3 / 23 = Rs 180
Babita's share = rs 180
Ahmed's share = 5*180 = 900
John's share = 5*180/3 = 300