A man purchased 40 kg of cotton at a rate of Rs 65 per kg. then he extracted 20% waste(by weight) from it so that the quality of the cotton improved and he was able to sell them at Rs.80 per kg. Also the waste had 60% cotton seed by weight which he was able to sell Rs.20 per kg. what % profit did he make?