Mark M. answered 08/27/19
Retired college math professor. Extensive tutoring experience.
Since f(x) is divisible by x2 - 5x - 6, f(x) = P(x)(x2 - 5x - 6) = P(x)(x - 6)(x + 1), for some polynomial function P(x).
So, f(6) = P(6)(0)(7) = 0.
Since g(x) is divisible by x2 - 2x - 3, g(x) = Q(x)(x2 - 2x - 3) = Q(x)(x-3)(x+1), for some polynomial function Q(x).
We see that f(x) and g(x) have x + 1 as a common factor.
Since f(x) = g(x) + 2x + 2, f(6) = g(6) + 14
0 = g(6) + 14
g(6) = -14