Help with masking

how do I make shape mask

I tried it and I didn’t work