Tim has to go to the doctor for a sporting injury.  He gets an MRI which costs $1200.  The doctor needs to examine it for 30 minutes and charges $300 per hour.  There is also a $150 fee just for being seen.  Insurance covered 80% how much did he pay?
The doctor charged 300/2=$
<gadget id="calculator">300/2</gadget>
<output>150</output>
150.
So the total cost was 150+150+1200=$
<gadget id="calculator">150+150+1200</gadget>
<output>1_500</output>
1500.
The insurance covered 1500*.8=$
<gadget id="calculator">1500*.8</gadget>
<output>1_200</output>
1200.
So he paid 1500-1200=$
<gadget id="calculator">1500-1200</gadget>
<output>300</output>
300.

<result>300</result>