The table shows a linear relationship between the values of x and y. (2,4), (-1,-2)...

Check the final answer first, then review the worked steps.

Answer

\(D. y = 2x\)

Work

m = \frac{4 - (-2)}{2 - (-1)} = \frac{6}{3} = 2 \implies y = 2x

Step-by-step solution

  1. Pick two points from the table, for example $(2, 4)$ and $(-1, -2)$.
  2. Calculate the slope $m$ using the formula $m = \frac{y_{2} - y_{1}}{x_{2} - x_{1}}$.
  3. Substitute the values: $m = \frac{-2 - 4}{-1 - 2} = \frac{-6}{-3} = 2$.
  4. Since the line passes through the origin $(0,0)$, the equation is in the form $y = mx$. Plug in $m = 2$ to get $y = 2x$.