y =
x + 5
the equation of a line in slope-intercept form is
y = mx + c ( m is the slope and c the y-intercept )
to calculate m use the gradient formula
m = ( y₂ - y₁ ) / (x₂ - x₁ )
with (x₁, y₁ ) = (6, 16 ) and (x₂, y₂ ) = (0, 5 )
m =
=
=

the y-intercept = (0, 5 ) ⇒ c = 5
y =
x + 5 ← in slope-intercept form