To find the amount of framing, we need the side length of the octagon.
For the right isosceles triangles, let \(x\) represent the length of the legs in cm and \(h\) the length of the hypotenuse and the side length of the frame.
By the Pythagorean Theorem,
\[\begin{align*} h^2 & = x^2 + x^2\\ h^2 &=2x^2 \end{align*}\]
Since \(h \gt\ 0\), \(h=\sqrt{2}\sqrt{x^2}=\sqrt{2}x\).