A plumbing service charges a flat fee plus an hourly rate for labor. For a job that took 2 hours, the total cost was $70. For a job that took 5 hours, the total cost was $145. If the total cost can be modeled by a linear function of the number of hours , what is the flat fee, in dollars?