a+b=2x^2+2y^2
x^2+y^2=(a+b)/2
a-b=4xy
xy=(a-b)/4
y/x+x/y
=(x^2+y^2)/xy
=[(a+b)/2]/[(a-b)/4]
=2(a+b)/(a-b)