Polynomial/Bezout/X-1 and X-2/Exercise

Determine the greatest common divisor of and , and a representation of it.