Find the zero of

f(X)= (x-5)/(x+2)

f(x) = (x-5)/(x+2) = 0

when the numerator is zero.