A repairman charges a flat fee of $50 to come to a customer's house, plus a charge per hour for any work completed. The repairman charged a customer $154 after 4 hours of work. Which function will calculate the cost of the repairman after x hours of work?