An electrician charges $120 after 2 hours of work and $190after 4 hours of work .write a linear model that represents the total cost as a function of the number of hours worked