3 buffaloes eat as much as 4 cows or 2 oxen . at a farm , there are 15 buffaloes , 8 oxen , and 24 cows . the fodder for these cattle is available for 24 days . if 40 more cows and 15 more buffaloes are brought in , how many days will the fodder last ?
"2 oxen = 3 buffaloes = 4 cows also : 15 buffaloes + 8 oxen + 24 cows = 10 oxen + 8 oxen + 12 oxen = 30 oxen there is enough fodder for 1 oxen for 30 * 24 days . 40 cows + 15 buffaloes = 20 oxen + 10 oxen = 30 oxen the new total is equal to 60 oxen instead of 30 oxen . 30 * 24 / 60 oxen = 12 days the answer is b ."
divide(multiply(24, add(add(15, multiply(divide(24, 4), 3)), multiply(divide(8, 2), 3))), add(add(add(15, 15), multiply(divide(add(24, 40), 4), 3)), multiply(divide(8, 2), 3)))