Replaceable Blocks

Switch the positions of shapes to remove the red ones, while making sure the green ones remain on the stage. Try to solve each puzzle with as few switches as possible.