a, = (xy-y^2) + (2x-2y) = y(x-y) + 2.(x-y) = (x-y).(y+2)
b, = (x+y)^2 - 9 = (x+y-3).(x+y+3)
\(xy-y^2-2x-2y\)
=(xy-y).(2x-2y)
=y(x-y).2(x-y)
=(x-y).(y-2)
\(xy-y^2+2x-2y\)
\(=\left(xy-y^2\right)+\left(2x-2y\right)\)
\(=y\left(x-y\right)+2\left(x-y\right)\)
\(=\left(x-y\right)\left(y+2\right)\)
\(x^2+2xy+y^2-9\)
\(=\left(x+y\right)^2-3^2\)
\(=\left(x+y-3\right)\left(x+y+3\right)\)
\(a,=y\left(x-y\right)+2\left(x-y\right)\)
\(=\left(x-y\right)\left(y+2\right)\)
\(b,=\left(x^2+2xy+y^2\right)-3^2\)
\(=\left(x+y\right)^2-3^2\)
\(=\left(x+y+3\right)\left(x+y-3\right)\)
a ) xy-y2+2x-2y = y(x-y) + 2(x-y)
=(x-y)(y+2)
b ) x2+2xy+y2-9 = (x+y)2-32
= (x+y+3)(x+y-3)