This is called a linear first-order homogeneous PDE. It is usually solved with characteristic method as follows:
0. Let equation $a_1(x, y)\frac{\partial{u}}{\partial{x}}+a_2(x,y)\frac{\partial{u}}{\partial{x}} $ be given.
1. Set $ x = x(t), y = y(t) $
2. Set what stands before $\frac{\partial{u}}{\partial{x}}, a_1$ in our case, to be equal $x_t$ and what stands before $\frac{\partial{u}}{\partial{y}}, a_2$ in our case, to be equal $y_t$
3. Use the chain rule to obtain:
$\frac{du}{dt} = \frac{\partial{u}}{\partial{x}}x_t+\frac{\partial{u}}{\partial{y}}y_t$
4. Original equation equals zero if and only if $\frac{du}{dt} =0 $, or because of property of the full differential if $ x_t = a_1(x,y) $ and $y_t = a_2(x,y)$.
5. Solve the system of ODE's
6. Profit!
Append:
Let's solve your first PDE:
0. $y\frac{\partial{u}}{\partial{x}} - x\frac{\partial{u}}{\partial{y}}=0$
1. $x=x(t), y=y(t) $
6. Through steps 2-5 we otain the system of ODE's:
$
x_t=y,
y_t=-x
$
Let's convert this system of ODE's to single ODE of second order (I think you're familiar how to solve such):
1. Differentiate the first eqution and substite it into the second one.
2. Obtain: $x_{tt}+x=0$
3. Solution to this equation is $c_1sin(t)+c_2cos(t)$
4. The y is: $y(t) = x_t = c_1cos(t)-c_2sin(t)$