To defeat the guardian robot, hit both activator switches with similar colors. Then, 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 close to a target. Repeat the process until you have defeated the robot.