Texas Instruments Interview Question

about counters, FSM, CMOS invertors