Let the total capital be ₹ R and Babloo's money is used for N months.
Capital of Aayush = R/4
∴ Capital of Babloo = (R - R/4) = 3R/4
Ratio of investments of Aayush and Babloo
= (R/4) x 15 : (3R/4 x b) = 15/4 : 3N/4 = 5 : N
Ratio of profits of Aayush and Babloo = (1/3) : (2/3) = 1 : 2
∴ 5/N = 1/2
∴ N = 10 months
Hence, Babloo's money was used for 10 months.