Step 1: Think of the combination
A NAND gate followed by a NOT gate is the same as an AND gate.
Step 2: Truth table
For $A,B = 0,0$: the NAND gives $1$ and the NOT gives $0$. For $1,1$: the NAND gives $0$ and the NOT gives $1$. The output is $1$ only for $1,1$.
Step 3: Conclusion
This is the AND truth table, so $X = A\cdot B$.
Final Answer:
Output is high only when both inputs are high, so X = A.B.
\[ \boxed{\text{(B) }X=A.B} \]