(x^2+x-20)/(x-4) long devision
The numerator can be factored as (x+5)(x−4) so you have;
x2+x−20x−4→(x+5)(x−4)x−4→x+5
.
(x^2+x-20)/(x-4)
x + 5
x - 4 [ x^2 + x - 20 ]
- [ x^2 -4x ]
5x - 20
- [ 5x - 20 ]
0