Factorization of 2x-4xy-5y square in real numbers Ah, I haven't done this kind of question for several years. I forgot how to do it. It's a tragedy

Factorization of 2x-4xy-5y square in real numbers Ah, I haven't done this kind of question for several years. I forgot how to do it. It's a tragedy

2x^2-4xy-5y^2
=2x^2-4xy+2Y^2-7y^2
=2(X^2-2XY+Y^2)-7Y^2
=2(X-Y)^2-7Y^2
=(√2X-√2Y +√7Y)(√2X-√2Y -√7Y)