how did you factor each polynomial