Samsung Electronics interview question

How will you make an EXOR gate from a basic NAND or NOR gate?