A variation on Dudeney’s spider and fly

The room stretches

A spider waits one foot above the floor, and a fly one foot below the ceiling on the far end wall. Both are halfway across walls 12 feet wide and 12 feet high. Stretch the room and see how the shortest route along its surfaces changes.

At 30 ft, the shortest route goes around two corners.

Both end walls are included in every drawing. Each dashed line is a hinge where two faces meet.

Along the floor

Around one corner

Around two corners