\(\left(2x-5\right)\left(x-7\right)-\left(x-7\right)\left(5+x\right)=0\\ \left(x-7\right)\left(2x-5-5-x\right)=0\\ \left(x-7\right)\left(x-10\right)=0\\ \left\{{}\begin{matrix}x-7=0\\x-10=0\end{matrix}\right.\left\{{}\begin{matrix}x=7\\x=10\end{matrix}\right.\)
\(\left(2x-5\right)\left(x-7\right)=\left(x-7\right)\left(5+x\right)\\ \Leftrightarrow\left(2x-5\right)\left(x-7\right)-\left(x-7\right)\left(5+x\right)=0\\ \Leftrightarrow\left(x-7\right)\left(2x-5-5-x\right)=0\\ \Leftrightarrow\left(x-7\right)\left(x-10\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x-7=0\\x-10=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=7\\x=10\end{matrix}\right.\)