To solve any puzzle, bring just a flip-flop into the puzzle room and hook it to the boot. Leave it just below the on switch. Turn the switch on. Touch the flip-flop gate by the boot for shapes you want to kick, and touch the other for those you don't.