f(x)= (x^2-1)/(x+4)

find f(x+h)

huh? Just plug in x+h

f(x+h) = ((x+h)^2 - 1)/((x+h)+4) = (x^2+2hx+h^2-1)/(x+h+4)