Design a sequencer using JK flip flops that has two cycles. Theeven cycle sequences 0,2,4,6 and repeats. The odd cycle sequences1,3,5,7, and repeats. An external input selects which cycle toperform. An input of 0 selects the even cycle and an input of 1selects the odd cycle. The cycles can be entered and exited throughstates 0 and 1.
For this sequencer produce the following.
(a) a state diagram
(b) a transition table
(c) k maps and reduced expression for all JK inputs
(d) a logic diagram for the sequencer

I have no clue where to begin. Help plz. Thanks