Consider the cube ABCDABCDABCDA'B'C'D' (ABCDABCD and ABCDA'B'C'D' are the upper and lower bases, respectively, and edges AA,BB,CC,DDAA',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 BCCBB'C'CB in the direction BCCBBB'C'CBB'. Points XX and YY begin their motion at the same instant from the starting positions AA and BB', respectively. Determine and draw the locus of the midpoints of the segments XYXY.