Answer:
y = - x + 4
Explanation:
the equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
calculate m using the slope formula
m =

let (x₁, y₁ ) = (0, 4) and (x₂, y₂ ) = (4, 0) ← 2 points on the line
substitute these values into the formula for m
m =
=
= - 1
the line crosses the y- axis at (0, 4 ) so y- intercept c = 4
y = - x + 4 ← equation of line