x = var('x')
y = function('y',x)

DE = diff(y,x) - (x^2 + y^2)/(x*y)

desolve(DE, [y,x])