If g(x) is a factor of f(x), then the remainder will be zero that is g(x) = 0.
g(x) = x + 5 = 0, then x = -5
Remainder = f(-5)
Now, f(3) = 3(-5)4 + 17(-5)3 + 9(-5)2 – 7(-5) – 10
= 3 x 625 + 17 x (-125) + 9 x (25) – 7 x (-5) – 10
= 1875 - 2125 + 225 + 35 – 10 = 0
Therefore, g(x) is a factor of f(x).