I already tried to create a small group between any variables like x and y to make it distributiveable. But nothing happened, and I cannot continue to the desired form.
Here's my attempt: I think I need to factorize $x^2-xy-2y^2$ such that I get $(x-2y)(x+y)$ , but then I got the bad form like $(x-2y)(x+y)-(x+4y+2)$ so that I cannot continue to find a better form to perform distributive property here.
Is there any theorems or any ideas to factorize such that equation like this?
Thanks
A genral method for the quadratic of $x,y$:
Take it as a quadratic of $x$ and treat $y$ as constant, then $$x^2-x(-y-1)-2y^2-4y-2=0$$ $$ \implies x=\frac{(y+1)\pm\sqrt{(y+1)^2+4(2y^2+4y+2)}}{2}$$ $$x=\frac{(y+1)\pm 3(y+1)}{2}$$ You get two linear factors here.