Answer: There are 8 nickels and 14 quarters.
Step-by-step explanation:
Since we have given that
there are $3.90 worth of nickles and quarters in a piggy bank.
Let the number of nickles be x
Let the number of quarters be x+6
As we know that

According to question,

Hence, there are 8 nickels and 14 quarters.