Its shown in the Hebrew text in Genesis One and Two.
Genesis 1:26-27
Then God said, “Let us make mankind in our image, in our likeness,
so that they may rule over the fish in the sea and the birds in the sky,
over the livestock and all the wild animals, and over all the creatures
that move along the ground.”
So God created mankind in his own image,
in the image of God he created them;
male and female he created them.
Genesis 1:27-28 states a different word for the creation of man -out from nothing - vs Genesis 2, which states that the body of Adam was 'molded and formed" out from the elements of the dirt .... Not, created out from nothing, like the souls were created in Genesis 1:27.
The Hebrew language indicates that the creation of man (male and female souls) were created out from nothing -[bara].
What took place in Genesis 1:27 was a completed act, and was a done deal.
The creation of the souls took place before bodies for those souls were provided.
The Hebrew word [jatsar] indicates that the bodies were not created out from nothing [bara] like the souls were created.
But, that Adam's body was 'molded and formed - [jatsar] - out from elements from the earth.
The body of man in Genesis Two was not created out from nothing like the souls were created out from nothing, as found in Genesis One: 27.
Without knowing the Hebrew? Some believers have gotten confused, and have created their own scenarios, some even to show that there were two creations of man. All sorts of distortions resulted in not knowing the Hebrew.