we know that
The line passing through the origin [tex](0,0)[/tex] and the point [tex](2,4)[/tex]
If the equation of the line passes through the origin
then
the equation of the line represent a direct variation
A relationship between two variables, x, and y, represent a direct variation if it can be expressed in the form [tex]y/x=k[/tex] or [tex]y=kx[/tex]
The constant k is equal to the slope m
with the point [tex](2,4)[/tex] find the constant of proportionality k
[tex]y/x=k[/tex]
substitute
[tex]4/2=k[/tex]
[tex]k=2[/tex]
The linear equation is equal to
[tex]y=2x[/tex]
therefore
the answer is
[tex]y=2x[/tex]