A makeup artist charges $40 to travel to a wedding, plus $20 per hour for the makeup she is doing at the wedding. The bride receives a bill for $100. How many hours did the makeup artist work at the wedding? First write an equation that models the situation using function notation.