Let the extension be E and the tension be T.
Then E∝TE \propto TE∝T
E=kTE = kTE=kT
when T = 8N, E = 2cm
2=k×82 = k \times 82=k×8
k=28=0.25k = \frac{2}{8} = 0.25k=82=0.25
∴E=0.25T\therefore E = 0.25T∴E=0.25T
when T = 12N, E=0.25×12=3cmE = 0.25 \times 12 = 3\text{cm}E=0.25×12=3cm