I think the alkene has priority. Look at each atom in isolation, and consider what stuff each is bonded to. C2 and C6 are both bonded to 3 x C (since the double bond counts for 2) and 1 x H, so you need to look in more detail at the attached groups:
attached to C2:
2 x C bonded to 3 carbons (C1 is counted twice, and each time the double bond counts as two bonds to carbon)
1 x C bonded to 2 carbons
1 x H
C6:
2 x C bonded to 2 carbons
1 x C bonded to 1 carbon
1 x H
So C2 has priority. I'm not 100% whether C1 is counted twice or once, but even if it's only counted once the methine would still beat the methylenes attached to C6. I'm happy for someone to correct me though!