Form an equation whose roots are $(a-b)^2,(b-c)^2,(c-a)^2.$ If $a,b,c$ are the roots of the equation $x^3+x+1=0,$ Then the equation whose roots are $(a-b)^2,(b-c)^2,(c-a)^2.$
Try: $a+b+c=0,ab+bc+ca=1,abc=-1$
Now $(a-b)^2+(b-c)^2+(c-a)^2=2(a+b+c)^2-6(ab+bc+ca)=-6$
Could some help me to explain short way to calculate product,Thanks

There is the following formula.
Let $a+b+c=3u$, $ab+ac+bc=3v^2$ and $abc=w^3$.
Thus, $$\prod_{cyc}(a-b)^2=27(3u^2v^4-4v^6-4u^3w^3+6uv^2w^3-w^6)=27\left(-\frac{4}{27}-1\right)=-31.$$
