A lodge rents snowboards for $40/day plus a $20 flat fee for safety gear. Write an equation to represent the relationship between the total cost, c, and number of days renting a snowboard, d.