Motorcycle Blinkers: Need some help with the code

Of course my understanding is wrong, that's why I am asking for help.

I thought I explained what you need to do. When the state goes LOW, you need to turn off the LEDs, then show the new state.