Drag out a repeat block and drop it on top of the stack. (You want the "mouth" of the repeat to wrap around the other blocks.)
Click to run the stack: