>>730
xy^2+y+1-x
=x(y^2-1)+(y+1)
=x(y+1)(y-1)+(y+1)
=(y+1){x(y-1)+1}