Servo control simultaneously



I want to control two servos that connect D9/D10 simultaneously for using gripper. So I tried to edit the code in Cloud9.
I modified some codes related altservo, pin etc. But It doesn’t work as I modified.
I want a detailed customizing method. Please I would like to make an appropriate suggestion.