Design pulse-mode circuits using SR FFs that responds to two inputs, x1 and x2. An output is generated coincident with the last of a sequence of four input impulses if and only if the sequence contained:
(a) at least two x1 pulses,
(b) at least three x1 pulses,
(c) at most two x1 pulses, and
(d) at most three x1 pulses.