Doritos are on sale for $3.50 a bag and you have a coupon for $.50 off your purchase. Write a function rule for the cost of in bags of Doritos. How much would 5 bags Doritos cost?