A square, whose side is $2$ metres, has its corners cut away so as to form an octagon with all sides equal. Then the length of each side of the octagon, in metres is
- $\frac{\sqrt{2}}{\sqrt{2}+1}$
- $\frac{2}{\sqrt{2}+1}$
- $\frac{2}{\sqrt{2} - 1}$
- $\frac{\sqrt{2}}{\sqrt{2}-1}$