Factor xk-xy-x^2+yk