Tom bought a sports drink for $1.25. He paid with nickels and dimes. He used 17 coins in all. How many nickels and how many dimes did he use