Ursula went to the store and bought butter, bread, a package of cheese, and tea. The bread was 2 times cheaper than the butter, while the price of the butter was 80% of the price of cheese. Tea was the most expensive and cost twice the price of a package of cheese. If the tea cost $10, how much did Ursula pay for her purchases?
The price of the tea was twice the price of the cheese, so the cheese cost was 10 / 2 = $
<gadget id="calculator">10/2</gadget>
<output>5</output>
5.
The price of the butter was 80/100 * 5 = $
<gadget id="calculator">80/100*5</gadget>
<output>4</output>
4.
If the bread was 2 times cheaper than butter, that means it cost 4 / 2 = $
<gadget id="calculator">4/2</gadget>
<output>2</output>
2.
That means Ursula paid for all her shopping 2 + 4 + 5 + 10 = $
<gadget id="calculator">2+4+5+10</gadget>
<output>21</output>
21.

<result>21</result>