2. (a) (2 pt) Consider the TSPC circuit and the input waveforms as shown below, sketch the waveforms of X, Y, Q and Q' to verify that there is no race (i. e., input D directly override output Q) and determine the type of circuit (positive, negative, latch, clocked latch, flip-flop, etc.). (b) (1 pt) Redraw the circuit so that the output Q changes on the opposite edge of a clock (i. e., if this circuit's output changes on a falling clock edge find one that changes on a rising edge).