
(b) The output of the circuit is,
$Y = \overline{\overline{A} + \overline{B}}$
= $\overline{\overline{A}} \bullet \overline{\overline{B}}$
= $A \bullet B$ ($\because\overline{\overline{A}} = A\ and\ \overline{\overline{B}} = B\ $)
Which is the output of an AND gate.