A person makes a profit of 10% on 25% of the quantity and loss of 20% on the rest of the quantity. What is the gain or loss is percentage on the whole?