No idea what I'm doing!!

Hi,
I am a newbie to the Arduino world and was hoping to get some advice on a project .
I need to program the arduino to give me an output TTL pulse that:
1.Has a pulse width of 12s,i.e HIGH for 6s and LOW for 6s .
2. I need this to run on a loop for 6 times.
I have attached how I want the output signal to work.
Any help is appreciated ! thanks :).

output.doc (120 KB)

The simplest way - this is blocking, which may be undesirable. See blink without delay for and example of how to make it non-blocking and use millis for timekeeping instead of delay.

void setup() {
byte outputPin=13; //this uses pin 13, which has a LED on most official arduino boards. 
pinMode(outputPin,OUTPUT);
for (byte i=0;i<6;i++) {
digitalWrite(outputPin,1);
delay(6000);
digitalWrite(outputPin,0);
delay(6000);
}
}
void loop() {
}