This is a differential equation. The form in which the equation is given should lead one to suspect that it might be an exact differential equation.
Recall that for any differential equation of the form #(M)dx + (N)dy = 0#, if #M_y = N_x# (where #M_y# is the partial derivative of #M# with respect to #y# and #N_x# is the partial derivative of #N# with respect to #x#), then the equation is exact.
Here we have #M = y + 2/(x^2)# and #N = x - 3/(y^2)#. This gives #M_y = 1# and #N_x = 1#. Since #M_y = N_x#, the equation is exact.
To solve an exact differential equation, integrate #M# with respect to #x#, then integrate #N# with respect to #y#, and finally combine the two results, omitting one copy of duplicate terms and setting it equal to #C#.
#int (M) dx = int (y + 2/(x^2))dx = xy - 2/x + h(y)#
#int (N) dy = int (x - 3/(y^2))dy = xy + 3/y + g(x)#
Where #h(y)# and #g(x)# are unknown functions of #y# and #x#, respectively. (It is technically correct to include these in the integrals. They are not, however, needed for the final answer.) We now combine the two terms. Note that if we have a term that is common to both #int M dx# and #int N dy#, we only add one copy. We then set the result equal to some constant #C#.
#xy - 2/x + 3/y = C#
The above is an implicit general solution to the provided differential equation.