determine the greatest common monnial factored fosn of each polynomial