It really looks as if everything was done before Genesis 2 started ... except for modern humans.
וַיְכֻלּ֛וּ הַשָּׁמַ֥יִם וְהָאָ֖רֶץ וְכָל־ צְבָאָֽם׃
Thus the heavens and the earth were finished, and all the host of them.
וַיְכַ֤ל אֱלֹהִים֙ בַּיֹּ֣ום הַשְּׁבִיעִ֔י מְלַאכְתֹּ֖ו אֲשֶׁ֣ר עָשָׂ֑ה וַיִּשְׁבֹּת֙ בַּיֹּ֣ום הַשְּׁבִיעִ֔י מִכָּל־ מְלַאכְתֹּ֖ו אֲשֶׁ֥ר עָשָֽׂה׃
And on the seventh day God ended his work which he had made; and he rested on the seventh day from all his work which he had made.
וַיְבָ֤רֶךְ אֱלֹהִים֙ אֶת־ יֹ֣ום הַשְּׁבִיעִ֔י וַיְקַדֵּ֖שׁ אֹתֹ֑ו כִּ֣י בֹ֤ו שָׁבַת֙ מִכָּל־ מְלַאכְתֹּ֔ו אֲשֶׁר־ בָּרָ֥א אֱלֹהִ֖ים לַעֲשֹֽׂות׃
And God blessed the seventh day, and sanctified it: because that in it he had rested from all his work which God created and made.
אֵ֣לֶּה תֹולְדֹ֧ות הַשָּׁמַ֛יִם וְהָאָ֖רֶץ בְּהִבָּֽרְאָ֑ם בְּיֹ֗ום עֲשֹׂ֛ות יְהוָ֥ה אֱלֹהִ֖ים אֶ֥רֶץ וְשָׁמָֽיִם׃
These are the generations of the heavens and of the earth when they were created, in the day that the LORD God made the earth and the heavens,
וְכֹ֣ל שִׂ֣יחַ הַשָּׂדֶ֗ה טֶ֚רֶם יִֽהְיֶ֣ה בָאָ֔רֶץ וְכָל־ עֵ֥שֶׂב הַשָּׂדֶ֖ה טֶ֣רֶם יִצְמָ֑ח כִּי֩ לֹ֨א הִמְטִ֜יר יְהוָ֤ה אֱלֹהִים֙ עַל־ הָאָ֔רֶץ וְאָדָ֣ם אַ֔יִן לַֽעֲבֹ֖ד אֶת־ הָֽאֲדָמָֽה׃
And every plant of the field before it was in the earth, and every herb of the field before it grew: for the LORD God had not caused it to rain upon the earth, and there was not a man to till the ground.
וְאֵ֖ד יַֽעֲלֶ֣ה מִן־ הָאָ֑רֶץ וְהִשְׁקָ֖ה אֶֽת־ כָּל־ פְּנֵֽי־ הָֽאֲדָמָֽה׃
But there went up a mist from the earth, and watered the whole face of the ground.
וַיִּיצֶר֩ יְהוָ֨ה אֱלֹהִ֜ים אֶת־ הָֽאָדָ֗ם עָפָר֙ מִן־ הָ֣אֲדָמָ֔ה וַיִּפַּ֥ח בְּאַפָּ֖יו נִשְׁמַ֣ת חַיִּ֑ים וַֽיְהִ֥י הָֽאָדָ֖ם לְנֶ֥פֶשׁ חַיָּֽה׃
And the LORD God formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul.
וַיִּטַּ֞ע יְהוָ֧ה אֱלֹהִ֛ים גַּן־ בְּעֵ֖דֶן מִקֶּ֑דֶם וַיָּ֣שֶׂם שָׁ֔ם אֶת־ הָֽאָדָ֖ם אֲשֶׁ֥ר יָצָֽר׃
And the LORD God planted a garden eastward in Eden; and there he put the man whom he had formed.
וַיַּצְמַ֞ח יְהוָ֤ה אֱלֹהִים֙ מִן־ הָ֣אֲדָמָ֔ה כָּל־ עֵ֛ץ נֶחְמָ֥ד לְמַרְאֶ֖ה וְטֹ֣וב לְמַאֲכָ֑ל וְעֵ֤ץ הַֽחַיִּים֙ בְּתֹ֣וךְ הַגָּ֔ן וְעֵ֕ץ הַדַּ֖עַת טֹ֥וב וָרָֽע׃
And out of the ground made the LORD God to grow every tree that is pleasant to the sight, and good for food; the tree of life also in the midst of the garden, and the tree of knowledge of good and evil.
So ..... modern humans were formed, then the first humans were formed via evolution, with Adam being uum, the first "prophet" if you will. It would seem to me that evolution allows humans to evolve in a group and it provides an answer to where Cain got his wife from.
I know this is out of the realm of science, but I think the Garden of Eden is another dimension, for reason that we'll get into later in Genesis. When you are talking about religion it's ok to speculate this way. lol