Solution 10 :
The logic operation performed by the CMOS complex logic gate is given by,
Vout = -[AB +-( A + B)] = A XOR B