2 answers
(click or scroll down)
write what you know:
5n+10d+25q = 420
d = q+7
n = q+6
Now solve as usual.