a)
The left half of the figure acts as NOR Gate, while right half as NOT Gate.
The output of the NOR Gate is given as,
This is the input for the NOT Gate.
The output of a NOR Gate for any input Z is given as,
By substituting the value of equation (1) in equation (2), we get
Thus, the output of the given circuit is
b)
the given circuit is,
The output of two NOT Gates are
These outputs are fed through the NOR Gate.
The output of the circuit is given as,
Thus, the output of the given circuit is