Analog Bits interview question

PMOS, NMOS passing transistor logic