Nickel Grade

Grade 10 Math Question: Number of nickels, dimes, and quarters?
I’m horrible at these questions.
Maylin put $1.75 in nickels, dimes, and quarters into a vending machine. The number of quarters she used was one more than the number of nickels. The number of dimes was one less than the number of nickels. How many of each coin did she use?
I would greatly appreciate it if you could explain how to do this question step-by-step. Thanks!
Let’s start by making the number of quarters “X”
You know how much quarters, nickels and dimes are worth and that will be the number you multiply by X.
The amount of money from quarters will be 25(X).. The amount from nickels will be 5(X-1) because there is one less nickel than quarters. The amount from dimes will be 10(X-2) because there is one less dime than nickels aka two less dimes than quarters. The final amount of cents is 175.
25(X)+5(X-1)+10(X-2)=175
25X+5X-5+10X-20=175
40X-25=175
40X=200
X=5
So the number of quarters is 5, the number of nickels (one less) is 4, and the number of dimes (one less than nickels) is 3.
5*25=125
4*5=20
3*10=30
125+20+30=175
Jenks 4th Grade Nickel Cheer 10/10/09