Question 335543
Let: 

n = nickles 
d = dimes and 
c = number of coins:

3n + d = c

We can also say that the number of quarters would be 2n 
(2n + n+ d), which simplifies to 3n + d as a binomial.