The given equation is:
$$ \color{blue}{ y = 2 x } $$If $ \color{blue}{x = 0} $, then:
$$ y = 2 \cdot \color{blue}{0} = 0 $$so the the line passes through origin $(0, 0)$.
If x = "something else" (sey $ \color{blue}{x = 1} $), then:
$$ y = 2 x = 2 \cdot \color{blue}{ 1 } = 2$$so the the line passes through point $(1, 2)$.
The graph of the equation is: