$\begin{array}{1 1} (1) 2(\sqrt{2}-1) \\ (2)4(\sqrt{2}-1) \\ (3) 4(\sqrt{2}+1) \\ (4) 2(\sqrt{2}+1)\end{array} $