A linear function contains the following points. What are the slope and y-intercept of this function?

Answer:
slope: -1
y-intercept: 6
Step-by-step explanation:
y-intercept is when x is 0 so it's 8 and the slope can be found using the slope formula (y2-y1)/(x2-x1)
(6-8)/(0 - (-2)) = -2/2 = -1