Take the first one out of ( ) :
(
-2xy+y^2) -(x2-2xy+y^2)
x^2-2xy+y^2
Multiply -1 to the second one :
-x^2-2xy+y^2
Here's what it looks like together ;
x^2-2xy-x^2+y^2-2xy
The x squared cancels (opposite signs + and -)
Combine like terms : -2xy-2xy+y^2
Answer:
-4xy+y^2 or y^2-4xy