We have the following:
The first thing is to find the slope of the line, like this:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]replacing:
[tex]m=\frac{2-0}{0-4}=\frac{2}{-4}=-\frac{1}{2}[/tex]now, the equation has the following form:
[tex]y=mx+b[/tex]for b,
m = -1/2
y = 2
x = 0
replacing:
[tex]\begin{gathered} 2=-\frac{1}{2}\cdot0+b \\ b=2 \end{gathered}[/tex]Therefore, the equation in standard form is:
[tex]\begin{gathered} y=-\frac{1}{2}x+2 \\ y+\frac{1}{2}x=2 \\ 2y+x=4 \end{gathered}[/tex]