Analog Bits interview question

Draw the state machine diagram for a divide by 2 frequency divider