Amir has a bag of dimes and quarters. He has a total of 31 coins worth $5 20. Let x represent the number of dimes and y represent the number of quarters. Which system of equations would be used to find out how many dimes and quarters Amir has?​