Geared motor driven robot

Hi everyone. I need some help in designing a microcontroller based program (preferrably Arduino) that controls the motion of a geared motor driven robot.

 

Please help.