As shown in the figure, is a point on the extension of side of square with side length 12, and . Point moves from point to point along . Construct a square with as one of its sides, such that points and are on the same side of . During the movement of from point to point along , what is the length of the trajectory of the center of square ?