A. Yusuf Ali:Translation:
Moreover He comprehended 4474 in His design the
sky, 4475 and it had been (as) smoke: He said to it
and to the earth: "Come you together, 4476 willingly
or unwillingly." They said: "We do come (together), in
willing obedience."

Muhammad Asad:Translation:
And 11 He [it is who] applied His design to the skies, which were [yet but] smoke; 12 and He [it is who] said to them and to the earth, “Come [into being], both of you, willingly or unwillingly!” - to which both responded, “We do come in obedience.” 13
4474 For istawa see n. 1386 to 10:3. Cf. also 2:29 .
4475 From 79:30 it would appear as if the earth was spread out after the sky was made. In the present passage the creation of the earth and the evolution of life on our globe are mentioned first; and the making of the sky into the seven firmaments is mentioned last. The two statements are not inconsistent. It is stated here that when the sky was made into seven firmaments, it had existed previously as smoke, or vapour, or steam. The idea I derive from a collation of the relevant Qur'anic passages is that Allah first created primeval matter, which was as yet without order, shape, or symmetry. This state is called Chaos as opposed to Cosmos in Greek Cosmogony. The next stage would be the condensation of this primeval matter, into gases, liquids, or solids: on this subject no precise information is given us: it belongs to the realm of Physics. About the earth we are told of four stages or Days, and about the heavens, of two stages or Days. For Days see n. 4477 below. If these stages proceeded or proceed together in time, it is obvious that each stage as we know it on earth is half as long as each stage in the heavens. But these are questions of Physics, Astronomy, or Geology, not questions of Religion.
4476 I take this to mean that Allah's design in creation was not to keep heaven and earth separate, but together, as we indeed are, being part of the solar system, and travellers through space, crossing the path of several comets. And all matter created by Allah willingly obeys the laws laid down for it.