An internet service provider charges a flat fee of $120 for the first three hours of installation and setup, plus an hourly rate for each additional hour. If the total cost for 7 hours of service is $270, which function gives the total cost in dollars, for hours of service, where ?