We have a solution of NaOH and H₂CO₃
First, NaOH will dissociate into Na⁺ and OH⁻ ions
The Na⁺ ion will substitute one of the Hydrogen atoms on H₂CO₃ to form NaHCO₃
The H⁺ released from the substitution will bond with the OH⁻ ion to form a water molecule
If there were to be another NaOH molecule, a similar substitution will take place, substituting the second hydrogen from H₂CO₃ as well to form Na₂CO₃
The sun solar energy produce all the energy
You need to look at the electronegativity and decide wheter the difference of both of the numbers are significant enough to form a polar bond