You can use an integrating factor.
$$e^{-at}N'(t) - ae^{-at}N(t) = -\mu t e^{-at}$$
Now undo the product rule.
$$\left(e^{-at} N(t)\right)' = -\mu te^{-at}$$
Now integrate to see that $$ e^{-at}N(t) - N(0) = -\mu \int_0^t se^{-as}\,ds.$$
To finish, integrate by parts and solve for $N$.