x^3-(2+2n)x^2-(4n+1)x+(2m^2-2n)=0