We have:
Let x = the number of quarters
Let y = the number of nickels
And
Quarter = $0.25
Nickel = $0.05
Then, we have the following expressions:

So, solve the system:

Substitute x in the first equation:

Solve for y:

Next, substitute y in x:

Answer: 58 quarters
18 nickles