Loading simulator…
When A = 0, the PMOS turns ON and the NMOS turns OFF, pulling Y HIGH. When A = 1, the PMOS turns OFF and the NMOS turns ON, pulling Y LOW.
Y = A'