\(ĐK:1\le x\le7\\ PT\Leftrightarrow\sqrt{7-x}=x-1\\ \Leftrightarrow7-x=x^2-2x+1\\ \Leftrightarrow x^2-x-6=0\\ \Leftrightarrow\left(x-3\right)\left(x+2\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x=3\left(tm\right)\\x=-2\left(ktm\right)\end{matrix}\right.\Leftrightarrow x=3\)