[tex]\sqrt{x+1}-\sqrt{x-7}=\sqrt{12-x}\Leftrightarrow \sqrt{x+1}=\sqrt{x-7}+\sqrt{12-x}\Leftrightarrow x+1=5+2\sqrt{-x^2+19x-84}\Leftrightarrow x-4=2\sqrt{-x^2+19x-84}(7 \leq x \leq 12)\Leftrightarrow x^2-8x+16=-4x^2+76x+-336\Leftrightarrow 5x^2-84x+352=0\Leftrightarrow (x-8))(5x-44)=0\Leftrightarrow x=8\vee x=\frac{44}{5}[/tex]