Blinking LED's at changing rate
The if(delay1&gt;10) does not have the conditional code in {}, so it should look like 

if(delay1&gt;10) { 
//conditional code, what happens if statement == true
} 


And if I understood your project and code correctly, when delay1 &lt;= 10 then you want the led3 and led4 to light up. So you want to add an optional else{} block. This optional block will be skipped, if the if statement is executed. If the if statement is not executed, because for example your delay1 is smaller or equal to 10, then the else block will be executed. 

else{
//led3 and led4 light up
}