Qualcomm interview question

Built a nand gate using 2:1 multiplexer.