\(a,\Rightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}x-5< 0\\x+2>0\end{matrix}\right.\\\left\{{}\begin{matrix}x-5>0\\x+2< 0\end{matrix}\right.\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}x< 5\\x>-2\end{matrix}\right.\\\left\{{}\begin{matrix}x>5\\x< -2\end{matrix}\right.\end{matrix}\right.\Rightarrow-2< x< 5\\ \Rightarrow x\in\left\{-1;0;1;2;3;4\right\}\\ b,\Rightarrow5< x^2< 14\\ \Rightarrow x^2=9\Rightarrow\left[{}\begin{matrix}x=3\\x=-3\end{matrix}\right.\)