Qualcomm interview question

Given a project design, asked to design state machine.