Nickels are 5 cents and dimes are 10 cents and since they are a total of 1.95 coins in total we can set up the two equations and solve for how much there are for each of the money.
x + y = 24
0.05x + 0.10y = 1.95 so solve for y and x is the number of nickels while y is the number of dimes.