Calculating the total cost with tax.