When we connect a NAND gate output into a NOT gate, it is equivalent to an AND gate. Hence, to make an AND gate from a NAND gate, follow the instructions:
Take a NAND gate and join its input together. It will now function like a NOT logic gate.
Take another NAND gate and connect its output to the NOT gate of step 1.
Congrats! You have a combination that acts like an AND gate.
Read more