what is the formula in finding the total sales ?