Final Code

reverse(4); //Reverse the Polarization of both motors

 motorSpeed(4,35); //set motor speed of both motors to 35

 goFor(1); //goes at that motor speed for 1 second

 motorSpeed(4,25); //set motor speed of both motors to 25

 goToAbsolutePosition(372); //sets the distance to run the motors for to 372 marks of absolute position

 brake(4); //cuts power to all motors

 reverse(4); //Reverse the Polarization of both motors

 motorSpeed(4,20); //set motor speed of both motors to 20

 goFor(2); //goes at that motor speed for 2 seconds

 brake(4);  //cuts power to all motors

 goFor(9); //goes at that motor speed for 9 seconds

 reverse(4); //Reverse the Polarization of both motors

 

 motorSpeed(4,35); //set motor speed of both motors to 35

 goFor(1); //goes at that motor speed for 1 second

 motorSpeed(4,25); //set motor speed of both motors to 25

 goToRelativePosition(400); //sets the distance to run the motors for to 400 marks of current position

 brake(4);  //cuts power to all 2 motors

 reverse(4); //Reverse the Polarization of both motors

 motorSpeed(4,20); //set motor speed of both motors to 20

 goFor(1.5); //goes at that motor speed for 1.5 second

 

 brake(4); //cuts power to all motors

 goFor(8); //goes at that motor speed for 8 second

 motorSpeed(4,55); //set motor speed of both motors to 55

 goFor(2); //goes at that motor speed for 2 seconds

 motorSpeed(4,35); //set motor speed of both motors to 35

 goToRelativePosition(-285); //sets the distance to run the motors for to -285 marks of current position

 brake(4); //cuts power to all motors

 reverse(4); //Reverse the Polarization of both motors

 motorSpeed(4,25); //set motor speed of both motors to 25

 goFor(3.5); //goes at that motor speed for 3.5 seconds

 

 brake(4); //cuts power to all motors

 goFor(10); //goes at that motor speed for 10 seconds

 reverse(4); //Reverse the Polarization of both motors

 

 motorSpeed(4,55); //set motor speed of both motors to 55

 goFor(1); //goes at that motor speed for 1 second

 motorSpeed(4,35); //set motor speed of both motors to 35

 goToRelativePosition(-390); //sets the distance to run the motors for to -390 marks of current position

 brake(4); //cuts power to all motors

 reverse(4); //Reverse the Polarization of both motors

 motorSpeed(4,25); //set motor speed of both motors to 25

 goFor(2); //goes at that motor speed for 2 seconds