I am having trouble expanding this Bernoulli equation correctly to solve it. Any help to get me this far would be wonderful.

x^2 dx/dy = 2y (e^1/x y^-1/2 -1)

For those who think it looks confusing what inside the brackets is supposed to read is e to the power of 1/x, y to the power of -1/2 is all one term and all of that has minus 1.