Solve the following using the elimination or substitution method. Show all work.
Jim has 65 coins in his pocket. All of the coins are nickels and dimes. If the total value of his coins is $5.10, how many nickels or dimes does he have?