Hey, I need help with a project, I have to do a project based on a two-way traffic light, it must include 2 push button and 6 LEDs and of course resistors. The problem I'm having is to get the traffic light to work simultaneously because of the timing sequence it must have. When one push button is press, both traffic lights must work normally according to the time sequence below, but when the next push button is pressed, both traffic lights must turn red and blink every second. NOTE I HAVE ATTACHED A PICTURE OF MY SETUP.
Operation 1
light set 1 light set 2
green -15s green - 10s
amber - 3s amber -3s
red - 3s red - 18s