Use the graph or table to write a linear function that relates y to x need help on answering number 6 plz

Answer: y = 4/-1 x -2
Step-by-step explanation:
Y=mx+b
4 and -1 are the “rise and run” (m) (from one point to the next, you must go up 4 units then left 1 unit)
The y intercept (b) is the point where it is on the y axis but 0 on the x axis, so -2