Commission Rate
You are employed by a company which commission rates are based on how much you sell. If you sell up to $100,000 of merchandise in a month, you earn 5% of sales as commission. If you sell over $100,000, you earn 8% commission on your sales. Write a piecewise function that gives the amount you earn as commission in a given month for x dollars in sales.