// 1. Reverse all motors.
reverse(4);
// 2. Run all motors at a constant speed of 40% power for 3 seconds.
motorSpeed(4,40);
goFor(3);
// 3. Run all motors at a constant speed of 20% power and go to an absolute position of 350 marks.
motorSpeed(4,20);
goToAbsolutePosition(350);
// 4. Brake all motors for 5 seconds.
brake(4);
goFor(5);
// 5. Run all motors at a constant speed of 40% power and go to an absolute position of 813 marks.
motorSpeed(4,40);
goToAbsolutePosition(813);
// 6. Brake and reverse all motors.
brake(4);
// 7. Reverse all motors.
reverse(4);
// 8. Run all motors at a constant speed of 45% power for 1 second.
motorSpeed(4,45);
goFor(1);
// 9. Run all motors at a constant speed of 20% power and go to an absolute position of 100 marks.
motorSpeed(4,20);
goToAbsolutePosition(100);
// 10. Brake all motors.
brake(4);