If $\displaystyle \lim_{x\to1}\frac{f(x)-8}{x-1}=10$ then find $\displaystyle \lim_{x\to1}f(x)$

This has me pretty stumped. Since the denominator is zero at x=1, I can't use limit of quotient is the quotient of the limits. My only other thought was to figure out f(x), which should be a polynomial where f(x)-8 has a factor of 1-x, but I can't figure out what that would be.