What is the equation of this line?
y=2x−2
y=−12x−2
y=12x−2
y=−2x−2

y=1/2x-2
Hope it helps.
Do comment if you have any query.
[tex]\sf y = \dfrac{1}{2} x -2[/tex]
Explanation:
Find slope:
[tex]\sf \dfrac{y2-y1}{x2-x1}[/tex]
========
[tex]\rightarrow \sf \dfrac{-2-0}{0-4}[/tex]
[tex]\rightarrow \sf \dfrac{-2}{-4}[/tex]
[tex]\rightarrow \sf \dfrac{1}{2}[/tex]
Equation:
[tex]\sf y = mx + b[/tex]
==========
[tex]\sf y = \dfrac{1}{2} x -2[/tex]