The given equation is:
$$ \color{blue}{ y = 5 x } $$If $ \color{blue}{x = 0} $, then:
$$ y = 5 \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 = 5 x = 5 \cdot \color{blue}{ 1 } = 5$$so the the line passes through point $(1, 5)$.
The graph of the equation is: