\(\lim\limits_{x\rightarrow-\infty}\dfrac{x^2+ax+5-x^2}{\sqrt{x^2+ax+5}-x}=\lim\limits_{x\rightarrow-\infty}\dfrac{\dfrac{ax}{x}+\dfrac{5}{x}}{-\sqrt{\dfrac{x^2}{x^2}+\dfrac{ax}{x^2}+\dfrac{5}{x^2}}-\dfrac{x}{x}}=\dfrac{-a}{2}\)
\(-\dfrac{a}{2}=5\Rightarrow a=-10\)