Solve the following Cauchy problem:
$$x~u~u_x+y~u~u_y=-x~y,$$ under the condition that $u(x,1/x)=5,~x>0$.
Attempt. The characteristic curves for this quasilinear pde satisfy the system of equations: $$\frac{dx}{xz}=\frac{dy}{yz}=\frac{dz}{-xy}.$$ From $\displaystyle \frac{dx}{xz}=\frac{dy}{yz}$, we easily get $g_1(x,y,z)=y/x=c_1$. We are still looking for a second surface $g_2(x,y,z)=c_2$, such that $\nabla g_1\times \nabla g_2\neq (0,0,0)$, so that the general solution can be given as $F(g_1,g_2)=0,$ for $F\in C^1.$ This is where I am stuck: so far I have not figured out a standard method of solving systems, like the above - this is a case where one integration comes easily, while the rest do not seem to me that obvious.
Thank you in advance.