A chemist records the molecular formulae of two hydrocarbons: sample X is C6H14\text{C}_6\text{H}_{14}C6H14 and sample Y is C6H12\text{C}_6\text{H}_{12}C6H12.
Which sample is an alkene? Explain your answer.