a grocery store bought some mangoes at a rate of 5 for a dollar . they were separated into two stacks , one of which was sold at a rate of 4 for a dollar and the other at a rate of 6 for a dollar . what was the ratio of the number of mangoes in the two stacks if the store broke even after having sold all of its mangoes ?
"the cost price of a mango = 1 / 5 dollars . the selling price of a mango from the first stack = 1 / 4 dollars - - > the profit from one mango = 1 / 4 - 1 / 5 = 1 / 20 dollars . the selling price of a mango from the second stack = 1 / 6 dollars - - > the loss from one mango = 1 / 5 - 1 / 6 = 1 / 30 dollars . the profit from one mango from the first stack is 4 times the loss from one mango from the second stack . the ratio is 1 / 20 * 30 / 1 = 3 : 2 d"
divide(subtract(divide(const_1, 4), divide(const_1, 5)), subtract(divide(const_1, 5), divide(const_1, multiply(const_2, const_4))))