Let us say Amelia has y number of quarters and x number of nickel coins.
So total she has 15 coins.

.................(1)
Now she has total amount = $2.15
1 dollar = 20 nickels and 1 dollar = 4 quarters
1 nickel = 0.05 dollar and 1 quarter = 0.25 dollar
so we can say that in terms of dollars,
.................. (2)
Plugging x from (1) in (2)

On solving we get ,
y=7
x=15-y =15-7 = 8
Answer: There are 8 nickels and 7 quarters.