Drag the red box over to the smaller red box. Watch definitely-not-magic happen. Also the blue box locks and unlocks.
I used...my brain...and my fingers.