In this case output $Y$ is equivalent to $AND$ gate.
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.