I'm not sure where I went wrong with this one:
the PDE: $$xuU_x + yuU_y = -xy$$
my try: I Wrote the characteristic lines equation: $$ \frac{dx}{xu} = \frac{dy}{yu} = \frac{du}{-xy}$$ eq (1): $$ \frac{dx}{xu} = \frac{du}{-xy} \Longrightarrow \ \frac{dx(-xy)}{x} = udu$$ solving this I got the first surface $\phi_1 = u^2 +2xy$
eq (2): $$ \frac{dx}{xu} = \frac{dy}{yu} \Longrightarrow \ln|x| + C = \ln|y| $$ which gave me the second surface: $$ \phi_2 = \frac{y}{x} $$
according to the solution: $$\phi_1 = (u^2 +xy)\cdot \frac{x}{y} \\ \phi_2 = \frac{x}{y} $$
I don't understand how I got $\phi_{1,2}$ wrong, I'm worried that there is something wrong with my understanding of the theory,
help \ hints would be appreciated, thank you!