In the formation of a chemical bond, only electrons are involved.
When there is transfer of electrons then there is formation of ionic bond. Whereas when there is sharing of electrons then there is formation of covalent bond.
Thus, we can conclude that sharing electrons is a method used by atoms to form a chemical bond.
Sleet and hail, sleet are tiny drops of water that freeze when it rains. Hail forms when a thunderstorm lifts a water droplet above the freezing level.
This means for every number of Carbon (C) atoms, there are twice as many Hydrogen (H) atoms with an additional two added onto that.
Therefore, if there is one Carbon Atom, and we multiply that by two, and then add an additional two, we get 4 Hydrogen atoms, so CH4, which is our first Formulae
Secondly, if we have eight Carbon Atoms, and we multiple that by two (16), and then add an additional two, we get 18 Hydrogen atoms, so C8H18, which is our second Formulae
The other Formulas do not follow this 'General Formula'