IBS Software interview question

Write the algorithm for moving a robot.