Cadence Design Systems interview question

Fsm to generate a particular sequence