Answer:
[tex]\huge\boxed{y=-\dfrac{1}{2}x+2}[/tex]
Step-by-step explanation:
The slope-intercept form of an equation of a line:
[tex]y=mx+b[/tex]
[tex]m[/tex] - slope
[tex]b[/tex] - y-intercept (0, b)
The formula of a slope:
[tex]m=\dfrac{y_2-y_1}{x_2-x_1}[/tex]
=========================================
We have two points (4, 0) and (0, 2) → [tex]b=2[/tex]
Calculate the slope:
[tex]m=\dfrac{2-0}{0-4}=\dfrac{2}{-4}=-\dfrac{2:2}{4:2}=-\dfrac{1}{2}[/tex]
Finally:
[tex]y=-\dfrac{1}{2}x+2[/tex]