sum and product of x(x-1)=0 with checking and solutions