\(PT\Leftrightarrow2\left(x+7\right)-x\left(x+7\right)=0\)
\(\Leftrightarrow\left(x+7\right)\left(2-x\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x+7=0\\2-x=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-7\\x=2\end{matrix}\right.\)
Vậy: \(S=\left\{-7;2\right\}\)