Let p(x)=x5+xp(x) = x^5 + xp(x)=x5+x and q(x)=x5+x2q(x) = x^5 + x^2q(x)=x5+x2. Find all pairs (w,z)(w,z)(w,z) of complex numbers with w≠zw \ne zw=z for which p(w)=p(z)p(w) = p(z)p(w)=p(z) and q(w)=q(z)q(w) = q(z)q(w)=q(z).
Hidden so you can work on the problem first.