Perform a functional decomposition, including diagrams, on two traffic light systems, then compare and contrast them:
(a) System 1: traffic lights at an intersection that work on a fixed clock cycle with red/green timing regardless of the traffic on either intersecting street.
(b) System 2: traffic lights that sense the number of vehicles waiting at the intersection and adjust the red/green timing cycle to optimize the traffic flow through the intersection
(e.g., dynamically minimizing the total wait time for traffic on the intersecting streets)