IMO 1983 LL LUX42

Consider the square ABCD in which a segment is drawn

IMO 1983 LL LUX42

Origin: LUX

Problem

Consider the square ABCD in which a segment is drawn between each vertex and the midpoints of both opposite sides. Find the ratio of the area of the octagon determined by these segments and the area of the square ABCD.