Write a chemical equation to show the preparation of an alkane from an alkene and an alkyne:

Alkene to Alkane:
C₂H₄ + H₂ → C₂H₆
(Hydrogenation)

Alkyne to Alkane:
C₂H₂ + 2H₂ → C₂H₆
(Hydrogenation)