Problem: country x taxes each of its citizens an amount equal to 13 percent of the first $ 40,000 of income , plus 20 percent of all income in excess of $ 40,000 . if a citizen of country x is taxed a total of $ 8,000 , what is her income ?
Rationale: "equation is correct , so math must be a problem . 0.13 * 40,000 + 0.2 * ( x - 40,000 ) = 8,000 - - > 5,200 + 0.2 x - 8,000 = 8,000 - - > 0.2 x = 10,800 - - > x = 54,000 . answer : a ."
annotated_formula: add(multiply(multiply(const_4, const_10), const_1000), divide(subtract(multiply(multiply(const_4, const_2), const_1000), multiply(divide(13, const_100), multiply(multiply(const_4, const_10), const_1000))), divide(20, const_100)))