$$\sqrt{x+1-2\sqrt{x}}=\sqrt{\sqrt{x}-1)^{2}}=5$$$$\overset{x>1}\Rightarrow$$$$ \sqrt{x}-1=5$$$$\Rightarrow$$$$ x=36.$$