The last step that Wei did to complete his construction was:
Using a straightedge, he constructed a line from point C to point D.
This step is important as it connects the points C and D to form the line segment CD, completing the construction of the segment as a copy of AB.