已知x(x-2)-(x²-2y)=-4,求代数式1/2(x²+y²)-xy的值