Suppose soda is on sale for $0.50 a can, and you have a coupon for $0.30 off your total purchase. Write a function rule for the cost of n cans of soda.

The function rule for the cost of n cans of soda would be:

Cost(n) = (0.50 * n) - 0.30