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? Let's think first. Chain of thought:
He sees the doctor 12 / 6 = 2 times a year. So he pays 400 * 2 = $800 for doctor visits. The cost of the pill is 5 * 2 = $10 per night. But insurance covers 10 * .8 = $8. So he pays 10 - 8 = $2 per night. So he pays 2 * 365 = $730 a year. SSo his total cost is 800 + 730 = $1530 a year.
Therefore, the answer is 1530.