\(\Leftrightarrow\left\{{}\begin{matrix}x^2-x-12\ge0\\7-x\ge0\\x^2-x-12< \left(7-x\right)^2\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}x^2-x-12\ge0\\7-x\ge0\\x^2-x-12< x^2-14x+49\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}\left[{}\begin{matrix}x\ge4\\x\le-3\end{matrix}\right.\\x\le7\\x< \dfrac{61}{13}\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}4\le x< \dfrac{61}{13}\\x\le-3\end{matrix}\right.\)