What is the equation of the line graphed below?A. y = -2xB. y = 2xC. y=-xD. y = -x56(1,2)

SOLUTION
We will take the point (1, 2) and the origin (0, 0) to get the slope m, we have
[tex]\begin{gathered} m=\frac{2-0}{1-0} \\ m=\frac{2}{1} \\ m=2 \end{gathered}[/tex]Equation of a line in slope-intercept form is
[tex]\begin{gathered} y=mx+b \\ where\text{ m = slope = 2} \\ b=y-intercept=0 \end{gathered}[/tex]so equation of the line graph becomes
[tex]\begin{gathered} y=2x+0 \\ y=2x \end{gathered}[/tex]Hence the answer is option B