Python (robotics project) | Computer Science homework help

I need a python program for my robot. Also I need explanation for everything you write in the program explaning what every code does. Also I need power point that explains everything you write in the program (that will be for the presentation)  the second attachment has a pdf that can help and explain.