Problem: the cost of 10 kg of mangos is equal to the cost of 24 kg of rice . the cost of 6 kg of flour equals the cost of 2 kg of rice . the cost of each kg of flour is $ 25 . find the total cost of 4 kg of mangos , 3 kg of rice and 5 kg of flour ?
Rationale: "let the costs of each kg of mangos and each kg of rice be $ a and $ r respectively . 10 a = 24 r and 6 * 25 = 2 r a = 12 / 5 r and r = 75 a = 180 required total cost = 4 * 180 + 3 * 75 + 5 * 25 = 720 + 225 + 125 = $ 1070 c"
annotated_formula: add(add(multiply(4, multiply(divide(24, 10), divide(multiply(25, 6), 2))), multiply(3, divide(multiply(25, 6), 2))), multiply(5, 25))