An electrician charges $35 per hour plus a fixed amount for residential work. For a job that took 6 hours, he billed $270. Write an equation in the form y = mx + b that represents the cost, c, of hiring this electrician for a job that takes x hours.