Elbit Systems interview question

Asked to create an FSM