A merchant has 640 kg of sugar, part of which he sells at 2% loss and the rest at 6% profit. He gain