Solution

The first NAND gate gives $\overline{A\cdot B}$; the second NAND gate with joined inputs acts as a NOT gate.
$X = \overline{\overline{A\cdot B}} = A\cdot B$

Concept NAND followed by NOT

Logic Gates in past papers

22 questions from this chapter have appeared across 18 exam years.