Problem: a man purchased 3 blankets @ rs . 100 each , 4 blankets @ rs . 150 each and two blankets at a certain rate which is now slipped off from his memory . but he remembers that the average price of the blankets was rs . 150 . find the unknown rate of two blankets ?
Rationale: explanation : 10 * 150 = 1500 3 * 100 + 4 * 150 = 900 1500 – 900 = 600 a
annotated_formula: subtract(multiply(const_10, 150), add(multiply(3, 100), multiply(4, 150)))