Could someone justify the following statement please. I'm having trouble visualizing what has been said here:

If by direct substitution of a given value c into a rational function is made and the following result occurs

then it can be concluded that is a factor of both and .

Anything to shed light here would be appreciated. Thanks.