Here I have a diophantine equation featuring a homogeneous polynomial:
$$x^2+5y^2+34z^2+2xy-10xz-22yz=0; x, y, z\in\mathbb{Z}$$
I have no idea how to approach this, I've tried various substitutions like $x=py, x=qz$ but then I get a non-homogeneous polynomial of 2 variables which is no better than this. Wolfram|Alpha finds a solution easily, but I still don't understand how.
For reference, W|A claims that the solution is $x=7n, y=3n, z=2n; n\in\mathbb{Z}$
Hint: Factor as $$(2y-3z)^2+(x+y-5z)^2 = 0$$