Samantha has 34 coins in her pocket, all which are nickles and quarters. If the total value of her change is $3.90, how many nickles and quarters does she have?

Let n be the number of nickels.

Let q be the number of quarters.

n + q = 34
0.05n + 0.25q = 3.90

Solve the above system of equations for n and q.