Design a sequential circuit with two D flip-flops, A and B, anda single input x, that behaves as follows: When x = 1, the circuitgoes through the state transition: 00 to 11 to 01 to 10 and back to00, and repeats the sequence. When x = 0, the state of the circuitremains the same. Show the state diagram, state transition table,and the resulting circuit diagram.