If then find

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.