Can you please explain the rational root theorem and the factor theorem?