Design a sequential circuit with two D flip-flops A and B, one input x, and one output y. When x = 0, the state of the circuit remains the same with output y=1. When x = 1, the circuit goes through the state transitions with output y=0. The state transitions from 00 to 01, to 11, to 10, back to 00, and repeats.
The answer to your question is provided in the image: