Problem: a salesman commission is 5 % on all sales upto $ 10000 and 4 % on all sales exceeding this . he remits $ 31100 to his parent company after deducting his commission . find the total sales ?
Rationale: let his total sales be x total sales - commission = $ 31100 x - [ ( 5 % of 10000 ) + 4 % of ( x - 10000 ) ] = 31100 x - 500 - ( x - 10000 ) / 25 = 31100 x = 32500 answer is b
annotated_formula: divide(add(31100, subtract(divide(multiply(5, 10000), const_100), divide(multiply(4, 10000), const_100))), subtract(const_1, divide(4, const_100)))