(a) Carbons: 6 in the ring + 1 methyl on the ring + 3 in the side group −C(CH3)=CH2 = 10. Hydrogens, from the number of bonds each carbon still needs:
- ring: C=O carbon 0 H; C=C carbon carrying CH₃ 0 H; the other C=C carbon 1 H; two ring CH₂ groups 4 H; ring CH carrying the side group 1 H → 6 H
- ring methyl: 3 H
- side group: =C< 0 H, CH₃ 3 H, =CH₂ 2 H → 5 H
Total H = 6 + 3 + 5 = 14, with one O. The molecular formula is C10H14O.
(b) sp²: 5 carbons — the C=O carbon, the two ring C=C carbons and the two carbons of the side-chain C=C. sp³: 5 carbons — the two ring CH₂ carbons, the ring CH carbon and the two methyl carbons.