Identify the gate and match A, B, Y in bracket to check.

From the JEE Main 2014 · 9 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
Identify the gate and match A, B, Y in bracket to check.

Try it yourself first, then check your working against this.
Worked solution
The first gate is NAND: . The second NAND has both inputs tied, so it acts as NOT. Then : an AND gate, and gives .
Concepts used: NAND as a universal gate, NAND with tied inputs is NOT
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Logic gates), each with a worked solution.
Timed, in the real format, and marked the moment you submit.