The following figure shows a logic gate circuit with two inputs A and B and the output Y. The voltage waveforms of A,B and Y are as given The logic gate is