Answer:
k = 6
Explanation:
the equation of a line in slope- intercept form is
y = mx + c ( m is the slope(gradient) and c the y- intercept )
given
x + ky = 18 ( subtract x from both sides )
ky = - x + 18 ( divide through by k )
y = -
x +
← in slope- intercept form
with slope m = -

given m = -
, then equating
-
= -
⇒ k = 6