Molex interview question

Design a FSM for Sequence detector