What I will do is buy a flower.
What I will do is leave here.
What I will do is go to school.
What I will do is to chat with her.
What I will do is to bask in the sun.
What I will do is to determine the number of them.
请问,到底是什么决定这两种形式的非谓语动词“do”和“to do”?