Student With Traffic light issues

green 1, yellow 1, red 1, pedestrian, green 2, yellow 2, red 2, cycle back over.

So, regardless of whether or not there are any cars going one direction, you plan to have the lights come on for fixed lengths of time. Then, regardless of whether or not there are any pedestrians around, you'll give them either way more time than needed to stroll across the road or nowhere near enough time to sprint like crazy across the road. Then, you'll allow the other, possibly non-existent, traffic to flow, again for a fixed amount of time.

And, no provisions for right or left turning traffic.

You might as well just use digitalWrite() and delay() and forget about anything like a realistic traffic light.