factorize :x2-2X+xy-2y

1 answer

x(x-2) + y(x-2)
(x+y)(x-2)