A solar water heater costs about $6120 to install (after rebates). A traditional gas water heater costs about $800, and costs about $350 per year to run. The average annual cost to run the solar water heater is about $70. Create total cost functions for each of the water heaters as a function of the number of years that it is used