Apple interview question

implement XOR using NANDs Setup and Hold Timing constraints