code for two motors

I redefined my second motor and then adjusted some of the code.
I think this should work...

What do you think?

const int transistorPin = 9;    // connected to the base of the transistor
const int transistorPin1 = 10;

 void setup() {
   // set  the transistor pin as output:
   pinMode(transistorPin, OUTPUT);
   pinMode(transistorPin1, OUTPUT);
 }

 void loop()
 {
   digitalWrite(transistorPin, HIGH); //turn on
   digitalWrite(transistorPin1, HIGH); //turn on

   delay(10000);

   digitalWrite(transistorPin, HIGH); //turn on
   digitalWrite(transistorPin1, LOW); //turn off

   delay(2000);
 }