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? Choose one
A) $ 54,000  B) $ 56,000  C) $ 64,000  D) $ 66,667  E) $ 80,000
<gadget id="calculator">4 * 10</gadget>
<output>40</output>

<gadget id="calculator">40 * 1_000</gadget>
<output>40_000</output>

<gadget id="calculator">4 * 2</gadget>
<output>8</output>

<gadget id="calculator">8 * 1_000</gadget>
<output>8_000</output>

<gadget id="calculator">13 / 100</gadget>
<output>13/100 = around 0.13</output>

<gadget id="calculator">(13/100) * 40_000</gadget>
<output>5_200</output>

<gadget id="calculator">8_000 - 5_200</gadget>
<output>2_800</output>

<gadget id="calculator">20 / 100</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">2_800 / (1/5)</gadget>
<output>14_000</output>

<gadget id="calculator">40_000 + 14_000</gadget>
<output>54_000</output>

<result>A</result>
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?
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)))
"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 ."