Candy is on sale for .75 each. You have a coupon for .25 off your total purchase. Write a fuction rule for the cost of n pieces of candy

The function rule for the cost of n pieces of candy would be:

Cost(n) = n * (.75 - .25) = n * .50