Consider the cube ABCDA′B′C′D′ABCDA'B'C'D' (ABCDABCD and A′B′C′D′A'B'C'D' are the upper and lower bases, respectively, and edges AA′,BB′,CC′,DD′AA',BB',CC',DD' are parallel). The point XX moves at constant speed along the perimeter of the square ABCDABCD in the direction ABCDAABCDA, and the point YY moves at the same rate along the perimeter of the square B′C′CBB'C'CB in the direction B′C′CBB′B'C'CBB'. Points XX and YY begin their motion at the same instant from the starting positions AA and B′B', respectively. Determine and draw the locus of the midpoints of the segments XYXY.