Y= -5/5x + 5 or Y = -1x + 5
Slope Intercept Form : y =mx + b
b = y-intercept
m= slope(rise/run)
The line intersects through 5 on the y axis so 5 replaces b.
y = mx + 5
We have to move 5 units down and 5 units right to reach the x-intercept which is 5 also.
y = -5/5x + 5
Note: I guess you can also put it as -1x + 5 since the slope is divisible.
I can expand more if you want :)