Answer
$y=\dfrac{1}{2}x$
Work Step by Step
The equation of a line can be represented as: $y-y_1=m(x-x_1)$ where $m$ is the slope and $(x_1, y_1)$ is a point on the line.
The slope $m$ of the line through the points $(x_1,y_1)$ and $(x_2,y_2)$ can be calculated using the formula:
$m=\dfrac{y_2-y_1}{x_2-x_1}$
Plug in the $x$ and $y$ values of the two given points into the formula above to obtain:
$m=\dfrac{y_2-y_1}{x_2-x_1}=\dfrac{1-0}{2-0}=\dfrac{1}{2}$
Thus, with a slope of $\frac{1}{2}$ and the point $(0, 0)$, the equation of the line is:
$y-0=\dfrac{1}{2}(x-0) \implies y=\dfrac{1}{2}x$