How do I use two funcions simultaneously?

So I want to turn on three leds and independently turn on two other leds

``````int verde1 = 2; // color amarillo
int rojo1 = 3; // color amarillo
int verde2 = 4; // color azul
int rojo2 = 5; // color azul
int led1 = 9; // color blanco
int led2 = 7; // color rojo
int led3 = 11; // color verde

void setup(){
pinMode(verde1, OUTPUT);
pinMode(rojo1, OUTPUT);
pinMode(verde2, OUTPUT);
pinMode(rojo2, OUTPUT);
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
}
void loop(){ digitalWrite(verde1, HIGH);
digitalWrite(rojo2, HIGH);
delay(100);
digitalWrite(verde1, LOW);
digitalWrite(rojo2, LOW);
delay(100);
digitalWrite(verde1, HIGH);
digitalWrite(verde2, HIGH);
digitalWrite(rojo1, HIGH);
digitalWrite(rojo2, HIGH);
delay(100);
digitalWrite(verde1, LOW);
digitalWrite(verde2, LOW);
digitalWrite(rojo1, LOW);
digitalWrite(rojo2, LOW);
delay(100);
digitalWrite(verde2, HIGH);
digitalWrite(rojo1, HIGH);
delay(100);
digitalWrite(verde2, LOW);
digitalWrite(rojo1, LOW);
delay(100);

}

digitalWrite(led1, HIGH);
delay(75);
digitalWrite(led1, LOW);
digitalWrite(led2, HIGH);
delay(75);
digitalWrite(led2, LOW);
digitalWrite(led3, HIGH);
delay(75);
digitalWrite(led3, LOW);
}
``````

What's wrong there?

Thank you.

You create the function - but you don't call it; instead you've just declared a variable of type int of the same name.

To call it, you would simply do: