Let's assume
number of nickels =n
number of dimes =d
we are given
total number of coins =9
so, we get

we know that
1 nickel =$ 0.05
and
1 dimes =$0.10
so, total amount is

we are given
total amount =$2.15
so, we get

so, we get system of equations as

................Answer