Of the three sources listed, geothermal energy
is the least dependent on the weather.
(Once it's installed and running, that is.)
The molecular formula will be a multiple of the empirical CH2O. One unit of CH2O has a mass of 12+2*1+16 = 30 g. This means that if our compound has a molecular mass of 180 g/mol, we can divide 180 / 30 = 6 units, and our compound has 6 units of CH2O. This means that its molecular formula is C6H12O6.
The process of an atom releasing energy when it moves to a lower energy state is called emission.