Question
Prompt
A painting studio is offering a promotion where the first class is free, the second class is half off the regular price, and the remaining classes are regularly priced. If the regular price of a class is , which function gives the total cost, in dollars, of classes taken using this promotion, where ?