Find field lines of $u = (x^2 , y^2 − y)$ that passes through the point $(1, 1/2)$.
So if I've understood it right, you solve the differential equation $$\frac{dx}{x^2} = \frac{dy}{y^2-y}.$$
This then can be written as $(y^2-y)\;dx = x^2\;dy \implies xy^2-xy=xy + C$.
The answer is $y\cdot (e^{1−1/x} + ) = 1$, how did they arrive at that?
$$\frac{dx}{x^2} = \frac{dy}{y^2-y}.$$ It's separable $$\int \frac{dx}{x^2} = \int \frac{dy}{y^2-y}.$$ After integration I got this $$-\frac 1x+K=\ln |\frac {y-1}y|$$ $$\implies \frac {y-1}{y}=Ke^{-\frac 1x}$$ for $(x,y)=(1,1/2) \implies K=-e$
Therefore $$y(1+e^{- \frac 1x+1})=1$$