EDIT : Don't read this unless you have the power to try to understand
Second question
God created the earth right well after he was done he put man on the Earth right yet the dinosaurs where before man how is this possible? You may argue that the dinosaurs ate them but if they did that how did man come back?
First of all , you'r putting a religieus theory , and a scientific theory toghetter , which , is not good .
OR you think in the evolution-theory way , which in shirt says the life evoluted from 1 - cellule beast to , 9 ^9^9 ^ 9^9 cellule "beast" like humans .crossing bye dino , and whtvr you want
OR you believe what the bibble / koran / thora / ... says .
But both are like water and fire ...
You don't have to read the bibble / whtvr as a scientific FACT , but more as a fylosofy where you can think en get stenght off. It's not like Mozes splitted the sea or somthing in real , its more the fylosofy that all problems can be resolved , like in case of Mozes , splitt the sea . An imposiblle challange
First Question
Who made "god" or how did he form?
the term " god " is invented by man , to answer questions without an answer , for example in the greek mytologie there was a god called "helios" and he traveld the whole world with his stagecoast with a huge fire on it => THE SUN
And in most modern religions " God " isn't a material thing , but more like a huge " power " ( like in starwars ! : May the FORCE be with you )
If you really want to confuse both theories , which I preffer ^^ here is my humble view .
I belive in the whole " Big - Bang " teory , and pandermia ( life came on earth fro manother already lifeformed planet ) and in evolutio theory , science got an answer on EVRYTHING that happend from now till like a Milli - sec before the big bang . Cuz to lmake this tinny little materie and let it explode in what we know as universe , you need a huge concentration of power ( which cant be explained by science) , and this power ,is in my view " God "
Hope you understand me
Grtz