joe has a collection of nickles and dimes that is worth $6.10. If the number of dimes was tripled and the number of nickles was increased by 49, the value of coins would be $18.95.how many nickles and dimes does he have?

5n + 10d = 610

5(n+49) + 10(3d) = 1895

n=18,d=52

check:
18 nickels = 0.90
52 dimes = 5.20
sum = 6.10

67 nickels = 3.35
156 dimes = 15.60
sum = 18.95