Coding for multiple servos

I’m working on a machine that shoots ping pong balls, I’m using an arduino to run the gates that drop the balls in and for aiming. I made the code below to run them but I want the gate to go simultaneously with the aiming but right now they take turns.

Please help me change it!
I’m new to this and very lost

heres the code

#include <Servo.h>
Servo servo1; // Define our Servo
Servo servo2;
Servo aim;

int pos=0;

void setup()
{
servo1.attach(8); // servo on digital pin 8
servo2.attach(10);
aim.attach(9);
}

void loop()
{
servoGate();
aimServo();
}

void servoGate(){
servo1.write(90); // Turn Servo Left to 90 degrees
delay(1000); // Wait 1 second
servo1.write(0); // Turn Servo Left to 0 degrees
delay(1000); // Wait 1 second
servo1.write(90); // Turn Servo back to center position (90 degrees)
delay(1000); // Wait 1 second
servo2.write(90); // Turn Servo Right to 135 degrees
delay(1000); // Wait 1 second
servo2.write(0); // Turn Servo Right to 180 degrees
delay(1000); // Wait 1 second
servo2.write(90); // Turn Servo back to center position (90 degrees)
delay(1000); // Wait 1 second
}
void aimServo()
{
for (pos = 15; pos <= 165; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
aim.write(pos); // tell servo to go to position in variable ‘pos’
delay(100); // waits 15ms for the servo to reach the position
}
for (pos = 165; pos >= 15; pos -= 1) { // goes from 180 degrees to 0 degrees
aim.write(pos); // tell servo to go to position in variable ‘pos’
delay(100); // waits 15ms for the servo to reach the position
}
}

https://forum.arduino.cc/index.php?topic=223286.0 for ideas on non-blocking timing using millis() (and micros()).

Please read the “how to use the forum” stickies to see how to format and post code.