Suppose the side length of a square is x, and the perimeter of all rectangles should be four sides of the square, plus two lines in the middle and twice.
that is
8x=200
(The middle two straight lines should be added twice)
x=200/8=25
Circumference = 4x = 25 * 4 = 100