hello everyone! Can anybody help me out with this problem? I don't need a big explanation just the answer and a brief explanation on how you got it :)

Given the table between (x) and (y)
The constant of variation (k) is given by:
[tex]k=\frac{y}{x}[/tex]As shown, from the table
When x= -2, y = -4
[tex]k=\frac{-4}{-2}=2[/tex]when x = 1, y = 2
[tex]k=\frac{2}{1}=2[/tex]when x = 6, y = 12
[tex]k=\frac{12}{6}=2[/tex]so, the answer will be k = 2