Multiply the first equation by a^2:
a4+4a3+21a2=0
We still have to clean up the a^3 term, so we multiply the first equation by -5a:
−5a3−20a2−105a=0
Add the two equations to get:
a4−a3+a2−105a=0
Rearrange:
a4−a3+a2=105a
The value of n is 105.
Hope this helps!