You can put this solution on YOUR website! Call the numbers of nickels and dimes, n and d. Then we have
n = 12 + d
and
5n + 10d = 285 (we work in cents)
we can substitute the first equation into the second and get
5(12 + d) + 10d = 285
60 + 5d + 10d = 285
15d = 225
d = 15 dimes
n = 27 nickels