Need help programming RGB's to be different colors

Hello I am confused on how to add another code to another pin. I have attached my current design but I am having problems with programming the second RGB to blink. Any suggestions on what I could do? I would like the second RBG to blink primary colors only. I have also attached my code. My current design https://imgur.com/nPrfu5L

RGB FINAL1.ino (516 Bytes)

I have also attached my code

If you really wanted help, you’d have posted your code.

Kinda new to this but here

int redPin = 10;
int greenPin = 8;
int bluePin = 9;

void setup()
{
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);

}
void loop()
{

setColor(255, 255, 0); // yellow
delay(250);
setColor(80, 0, 80); // purple
delay(250);
setColor(0, 255, 255); // aqua
delay(250);
}
void setColor(int red, int green, int blue)
{
#ifdef COMMON_ANODE
red = 255 - red;
green = 255 - green;
blue = 255 - blue;
#endif
analogWrite(redPin, red);
analogWrite(greenPin, green);
analogWrite(bluePin, blue);
}

(deleted)

Code tags missing.
No indentation making code hard to read.
Which of the code is for the first LED, and which part for the second? The code appears to be dealing with three LEDs total.