Thanks!
I have figured it out (I need to use a solid shape layer).
Another question is:
How to apply set matte effect?

(When I set the second layer as a track matte, it works well)

(When I apply a set matte effect to the second layer, it cant work. I wanna achieve a track matte effect like below)
Thanks again for your help!
Jiaze