Bob needs his refrigerator fixed. The repairman will charge Bob a flat fee of $40 plus an additional $15 for each hour he needs to work on it. Write an equation to represent Bob's cost to repair his refrigerator. Use y for the total cost and x for hours.