Apple interview question

CMOS inverter and buffer schematic explanation.