Answer:
X²-4x-5
5-×1=5-
5-1=4
so the Values 5 and 1
x²-x-2
2×1=2
2-1=1
the values is 2 and 1
(x-2)×(x+1)
so
x-5/(x-5)×(x+1)=2x-5/(x-2)×(x+1)
1=2x-5/x-2
x-2=2x-5
x=3
hopefully its helpful and correct