Subtract :−x2+y2−x2y+5xy2 from x2+x2y−5xy2−y2
We have to subtract −x2+y2−x2y+5xy2 from x2+x2y−5xy2−y2
x2+x2y−5xy2−y2−(−x2+y2−x2y+5xy2)
=x2+x2y−5xy2−y2+x2−y2+x2y−5xy2
=x2+x2−y2−y2+x2y+x2y−5xy2−5xy2
=2x2−2y2+2x2y−10xy2