Design a synchronous sequential circuit
From your initial state:


a 0 sets you on 000 or 001 sequence.
a 1 sets you on 111 sequence.




This will get you started.  Both end at the same state.

Do not forget alternative states:


a 01 could be the start of 0111.
a 10 could be the start of 1000.