RGB LED with sound sensors

Alright I tried to learn more about IF statements but I am still really confused how to properly nest them. If I could see some code that uses them in the same way I am trying to in my project, it would be really helpful.

thanks