second servo is bad controled

I power two servos (SG90) with an AC-DC adaptor in 6 volts. Also, the Arduino GND next to pin 13 is connected to the ground of the external power, Arduino UNO card is USB connected. I’ve loaded this code:

#include <Servo.h>

  Servo ms1;
  Servo ms2;
  int pos1 = 35;
  int pos2 = 45;
void setup() {
  // put your setup code here, to run once:
  ms1.attach(9);
  ms2.attach(10);
}

void loop() {
  // initialy, both servos are at its mechanical zero position
  ms1.write(pos1);
  delay(3000);
  ms2.write(pos2);
  delay(3000);
  ms1.detach();
  ms2.detach();
}

what happens is the following:
servo1 start moving and servo2 moves to 90 degrees (why??? :o )
after servo1 reaches 35 degrees, servo2 moves to 45 degrees.
Please, try my code and tell me if you observe like I do.

Servo2 is being initialised to a default position (90) because you haven't told it where else to go. Both servos move once and then you detach them...so you only ever get one move. If that was what you wanted the code should really all be in setup() with loop() left empty.

What did you want it to do if it was something different?

Steve

Thank you, sir, you help me a lot.
Last question: Metro or ProtoThread, what's the best?