[HELP]Switch Case syntax and edge detection with two push buttons for a van

sorry, there are two buttons, the one at the back and the one on the sliding door. when the back door button is pushed once, the back door lights turn on, a second time, all the lights turn on, and a third time, all lights turn off. for the sliding door, when pushed once, the sliding door lights turn on, a second time, they all turn on, and a third time, they all turn off. sorry, should have been clearer.