f(x) is a factor of g(x). Remainder is zero when g(x) is divided by f(x)
A number 'a' becomes factor to number 'b' only when it leaves remainder Zero.
ex; 8 divided by 2 leaves remainder '0'. Hence 2 is a factor of 8.