Final Code

//establish base position
goToAbsolutePosition(0);
//reverse motor 1
reverse(1);
//motor 1 at 54 power and motor 2 at 30 power for 2.85 seconds
motorSpeed(1,54);
motorSpeed(2,30);
goFor(2.25);
//brake motors and coast to absolute position 380
brake(4);
goToAbsolutePosition(380.5);
//stop AEV at first gate with servo
rotateServo(70);
goFor(0.5);
rotateServo(0);
//wait 7 seconds
goFor(6.5);
//continue to pick up cargo, motors at 50 and 30 respectively
motorSpeed(1,50);
motorSpeed(2,30);
//coast for 3 seconds
goFor(2.5);
brake(4);
//at absolute positon 795 wait for 5 seconds for cargo to get loaded
goToAbsolutePosition(795);
goFor(5);
//switch motor pull direction
reverse(1);
reverse(2);
//motor 1 at 40 and 2 at 60 for 3.25 seconds.
motorSpeed(1,40);
motorSpeed(2,60);
//coast for 3.25 seconds to relative position -325
goFor(5);
brake(4);
goToAbsolutePosition(435);
//rotate servo to stop at gate, wait 7 secnds
rotateServo(70);
goFor(0.5);
rotateServo(0);
//wait for gate to open
goFor(6.5);
//motors on to final position
motorSpeed(1,40);
motorSpeed(2,60);
goFor(5.2);
brake(4);