1. (a) Show a truth table for the following circuit diagram. (5%) (b) Draw a circuit diagram that is
logically equivalent to the following circuit and uses only one NAND gate and one NOT gate.
(10%)