Solution 8 :
The logic operation performed by the CMOS complex logic gate is given by,
Vout = -[( A + B + C ) ( DE + F )]