Tom takes medication to help him sleep.  He takes 2 pills every day before bed.  He needs to go to the doctor every 6 months to get a new prescription and a visit to the doctor costs $400.  The medication costs $5 per pill, but insurance covers 80% of that cost.  How much does he pay a year for everything?
He sees the doctor 12/6=
<gadget id="calculator">12/6</gadget>
<output>2</output>
2 times a year.
So he pays 400*2=$
<gadget id="calculator">400*2</gadget>
<output>800</output>
800 for doctor visits.
The cost of the pill is 5*2=$
<gadget id="calculator">5*2</gadget>
<output>10</output>
10 per night.
But insurance covers 10*.8=$
<gadget id="calculator">10*.8</gadget>
<output>8</output>
8.
So he pays 10-8=$
<gadget id="calculator">10-8</gadget>
<output>2</output>
2 per night.
So he pays 2*365=$
<gadget id="calculator">2*365</gadget>
<output>730</output>
730 a year.
SSo his total cost is 800+730=$
<gadget id="calculator">800+730</gadget>
<output>1_530</output>
1530 a year.

<result>1_530</result>