Answer:
y = x + 3
Explanation:
x - y = 5
=> x - 5 = y
=> y = x - 5 -> Eq 1
=> m = 1 (Since, y = mx + 5 in Eq 1)
y = mx + c
Substituting Value of x and y (-2,1) and value of slope(m=1) in y = mx + c,
=> 1 = (1)(-2) + c
=> 1 = -2 + c
=> c = 3
Getting the equation of the line,
y = (m)(x) + c
m = 1, c = 3
=> y = x + 3