When satan was forced out of heaven,see revelation12:12, he was thrown on earth, and by that time the earth was without any form, (it was waters only) and satan fall into the waters. meaning that satan was the first one to be on earth before adam and eve. then God started creating the earth,see Genesis1:1...., after God terminated creating the whole earth, he than created adam and eve,see Genesis1:27, by that time God had created the both of them, but they were in a form of spirit, without a body, note this: God created both adam and eve to be like him but spiritually, that is why there is no black or white or colored in spirit, and because God will never die and He created our spirit out of His likeness, also our spirit will never die,is either you we go to hell suffer for internal or to heaven and live for internal, the thing that dies is our body only and it remains here on earth as it was MADE not created but MADE, through the soil.
After creating them both being spirit,GOD than made the garden of eden and than He made the body of adam first after that He took the spirit of adam and deposited it into the body of adam and through adam God made the body of eve, that was to mean that they are one thing, that is why He made the body of eve through the body of adam because they are one spirit the difference was there physical body(sex). (God knew before He created the garden of eden that adam would live there with eve his partner) and He put them in charge of the garden of eden.
coming back to satan, when satan was thrown to the earth, He was thrown with his powers, God had created satan through a star and his name was lucifer, God trusted him and he was in charge of the other angels and he was different from all the other angels because he had been created by a star( that is why some of the churchs worshiping satan they have a symbol of star placed on there clothes), God had blessed lucifer and had given him the powers to change himself 24 times, and the power to sing, satan was a perfect singer in heavens and had a beautiful voice,( that is why today satan destroy the you through songs, he invent new styles of songs, specially RnB and Kwaito).
When ever God blesses you, even if later you act againt God, He doenst take back the blessings, he just step away from your life and the devil comes and destroys you with your blessings. satan had those powers after being chased away from heavens.
He used those powers he negotiated with a snack and used the body of the snack and tricked eve about the fruit that was in the garden where by they had been told not to eat it. because by that time animal could talk and were fried of adam and eve, after that God put emnit between animals and adam and eve and he said that they would be enemies.