Aloha :)
$$\left.\sqrt{5-x}=1+\sqrt x\quad\right|\;(\cdots)^2$$$$\left.5-x=1+2\sqrt x+x\quad\right|\;+x-5$$$$\left.0=-4+2\sqrt x+2x\quad\right|\;:2$$$$\left.x+\sqrt x-2=0\quad\right|\;\text{ausklammern}$$$$\left.\underbrace{(\sqrt x+2)}_{\ge2}(\sqrt x-1)=0\quad\right|\;:(\sqrt x+2)$$$$\left.\sqrt x-1=0\quad\right|\;+1$$$$\left.\sqrt x=1\quad\right|\;(\cdots)^2$$$$x=1$$