Texas Instruments Interview Question

3 questions: state machine, designing adder from some logic gates and coding