Kolbe electrolysis of sodium salt of butanoic acid:
\[
\begin{align}
2 \text{CH}_3\text{CH}_2\text{CH}_2\text{COO}^- \xrightarrow{\text{electrolysis}} \text{CH}_3\text{CH}_2\text{CH}_2-\text{CH}_2\text{CH}_2\text{CH}_3 + 2 \text{CO}_2
\]
Each butanoate loses CO\(_2\), and the remaining alkyl radicals combine to form a hydrocarbon with 6 carbon atoms.