Handout 1 question 5

in handout 1 question 5 I didnt understand the part marked in yellow brackets .
it’s not so clear what the function pie does and how we conclude it is the same size as P(B)

for example: \pi(\{x,y,z\})=\{y,z\}

I still didn’t undestand why |Px|=|P(b)|