Answer
The structure of the molecular formulas corresponding to stable compounds are shown in the picture.
Work Step by Step
The hydrocarbons with even number of hydrogens are stable. There is an exception to this rule: $CH_2$ has even number of hydrogens but does not have enough hydrogens to make four bonds with carbon, so it is not stable.