factor resultant[ (z+1+2j)(z+3j)(z-2j), j^2+1, j ]