Robert has 40 coins in a jar on his dresser. There are only quarters and dimes in the jar. If the total amount in the jar is $7.60, how many quarters and dimes does Robert have?