Write a linear function that relates y to x

Answer:
y = x -2
Step-by-step explanation:
Slope is 1, y-intercept is (0,-2)