Question: Did Elohiym create Adam outside of Eden or inside Eden?

Look at this verses in Genesis 2:7 "And YHVH Elohiym formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul. 8 And YHVH Elohiym planted a garden eastward in Eden; and there he put the man whom he had formed."