Solution:
The equation of a line in slope-intercept form is expressed as
[tex]\begin{gathered} y=mx+b \\ where \\ m\Rightarrow slope\text{ of the line} \\ b\Rightarrow y-intercept\text{ of the line} \end{gathered}[/tex]Given that
[tex]\begin{gathered} m=\frac{1}{2} \\ b=0 \end{gathered}[/tex]By substituting these values into the above equation, we have
[tex]y=\frac{1}{2}x+0[/tex]Hence, the equation of the line is
[tex]y=\frac{1}{2}x[/tex]