y=x³-3x-2=х³-х-2х-2=х(х²-1)-2(х+1)=х(х-1)(х+1)-2(х+1)=(х+1)(х²-х-2)=
=(х+1)(х²-2х+х-2)=(х+1)((х(х-2)+(х-2))=(х+1)(х+1)(х-2)
y=x³-3x-2=х³-х-2х-2=х(х²-1)-2(х+1)=х(х-1)(х+1)-2(х+1)=(х+1)(х²-х-2)=
=(х+1)(х²-2х+х-2)=(х+1)((х(х-2)+(х-2))=(х+1)(х+1)(х-2)