The price for the three bags of chips is (3 x 2.50) - 2.50/2, because one of the bags will have 50% off. This makes $6.25. Divide this by 100 to find 1%, then multiply by 5 to find 5% — this tells you the amount of sales tax to add on. (6.25/100) x 5 = 0.31 to two decimal places. The final amount for the total purchase is 6.25 + 0.31 = $6.56.