Find the solution $u$ of $x~u~u_x+y~u~u_y=-x~y,$ that $u(x,1/x)=5,~x>0$. 
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.

Mentioned equation can be solved using automodel substitution $z=xy$
$$
xuu_x+yuu_y+xy\to xuu_zy+yuu_zx+xy=2zuu_z+z\to\\
z(2uu_z+1)=0
$$
Case of $z=0$ implies $x=0$ or $y=0$. Which is out of interest in given Cauchy problem. 
$$
2uu_z+1=0\\
udu=-\frac{1}{2}dz\to \frac{u^2}{2}=C^*-\frac{1}{2}z\to u=\pm\sqrt{C-z}
$$
Or in terms of initial variables:
$$
u=\pm\sqrt{C-xy}
$$
where $C-const$.
Thus, for Cauchy problem
$$
u\left(x,\frac{1}{x}\right)=\pm\sqrt{C-1}=5\to \{+\}\text{ and }C=26\\
u(x,y)=\sqrt{26-xy}
$$
