2x²+7x+3
=2x²+6x+x+3
=2x(x+3)+(x+3)
=(x+3)(2x+1)
x²-3xy+2y²
=x²-2xy-xy+2y²
=x(x-2y)-y(x-2y)
=(x-2y)(x-y)