First, make it into slope intercept form. Subtract x form both sides
x (-x) - y = 5 (-x)
-y = -x + 5
Isolate the y. Divide -1 from both sides
(-y)/-1 = (-x + 5)/-1
y = x - 5
The slope in the form: y = mx + b, is m, which is next to the x
In this case, the m is 1
You're slope is 1
hope this helps