Answer:
y = - x + 6
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 =

with (x₁, y₁ ) = (0, 6) and (x₂, y₂ ) = (6, 0) ← 2 points on the line
m =
=
= - 1
The line crosses the y- axis at (0, 6 ) ⇒ c = 6
y = - x + 6 ← equation of line