A man sells two articles, each for Rs 640. He earns 20% profit on the first, and 40% profit on the second. Find his overall percent profit.