Math Problem Statement

I have a square and want to draw a continuous line that does not cross itself and that crosses each center of the square edges

Solution