sarah has dimes and nickels which total $1.65. the number of nickels she has is 3 less than the number of dimes. how many of each does she have?

dimes --- x

nickels --- x-3

solve
10x + 5(x-3) = 165