Calculating discounts and total costs