Hey!
I'm not sure were you're stuck.....
What is it that your trying to achieve?
From what i can tell you want the servos to move in the specified order/arrangement, right?
If so then all you have to do is add void Setup() from the first sketch into the second one and do the same for the void loop(). Remember the order of your code determines the order in which the arduino will act...
Oh and dont forget to change the pin number to whatever you want!!
Its a good habit to put include statements at the very top of your code.
Best of Luck!!