Yes, the firmament is the heavens.
I don't understand why you crossed all that out, all of that is correct, you just need to keep reading the next verses.
Genesis 1:9-13
9 And God said, Let the waters under the heaven be gathered together unto one place, and let the dry land appear: and it was so.
10 And God called the dry land Earth; and the gathering together of the waters called he Seas: and God saw that it was good.
11 And God said, Let the earth bring forth grass, the herb yielding seed, and the fruit tree yielding fruit after his kind, whose seed is in itself, upon the earth: and it was so.
12 And the earth brought forth grass, and herb yielding seed after his kind, and the tree yielding fruit, whose seed was in itself, after his kind: and God saw that it was good.
13 And the evening and the morning were the third day.
I don't understand why you crossed all that out, all of that is correct, you just need to keep reading the next verses.
Genesis 1:9-13
9 And God said, Let the waters under the heaven be gathered together unto one place, and let the dry land appear: and it was so.
10 And God called the dry land Earth; and the gathering together of the waters called he Seas: and God saw that it was good.
11 And God said, Let the earth bring forth grass, the herb yielding seed, and the fruit tree yielding fruit after his kind, whose seed is in itself, upon the earth: and it was so.
12 And the earth brought forth grass, and herb yielding seed after his kind, and the tree yielding fruit, whose seed was in itself, after his kind: and God saw that it was good.
13 And the evening and the morning were the third day.
Yes, the earth was there on the 2nd Day........it took the crust about 500,000 years to cool before grasses could grow on the surface, or even longer.
By 4 billion years ago the earth had cooled enough for the outer layers to have solidified and for oceans to form. Flying past the earth at this time we would see a vast ocean from pole to pole, with volcanoes scattered here and there but no continents - pretty much the scene to the right captured about 3.8-4.0 billion years ago. The oldest rocks we have date to 3.96 billion years ago, and contain evidence of sedimentary rocks that require water.
The earth cooled from the outside in, and the still molten iron-nickle core are the remnants of that heat from the early stage of melting. That heat is also what keeps the earth geologically active, and without it nothing that we know of the earth would exist today, no continents, no volcanos, no mountains, no oceans, and almost certainly no life - a dead planet like mars or the moon.
So there is a reason DAY 2.........Earth Formed and Day 3 are different days {Time periods} and that is because they took place far apart.