Ответ:

1. Factor the numerator: (x-4)(x+1)/(x+1) = 0.
2. Simplify and solve: x-4 = 0 -> x = 4. (Note: x cannot be -1).