5axy-5bxy+2ax-2bx+10cxy+4cx^2
=5xy(a-b)+2x(a-b)+2cx(5y+2x)
=x(a-b)(5y+2x)+2cx(5y+2x)
=x(5y+2x)(a-b+2c)