To defeat the guardian robot, hit both activator switches with matching colors. Afterward, hit the generator lens that the pipes lead to. Repeat this process until the next part. This time there is one more generator lens and the guardian will have another move. Do not get near a target. Repeat the process until you have defeated the robot.