Anuar had 40 more twenty-cents coins than one-dollar coins. He exchanged all the twenty-cent coins for one-dollar coins. He then had 20 one-dollar coins altogether. What is the value of all the twenty-cents coins he had at first? (answer is $10) kindly show me the working clearly. Thank you very much.