example of the factor theorem