Calculate the cost of the items based off of quantity