A has a molecular formula of C₈H₁₂. When it reacts with H₂/Pt, it yields molecule B which has a molecular formula of C₈H₁₈.
a) Identify the functional groups in A and B.
b) Write the balanced chemical equation for the reaction.
c) Determine the type of reaction.