I'm not sure if my solution is good.
I've pointed out that these three sums are with two terms: one product and one number \(\displaystyle (x, y, z)\). And we can see that every singular term in every sum has to give us remainder of \(\displaystyle 1\) or \(\displaystyle 2\), or both terms in every sum have to give us remainder of \(\displaystyle 0\). Thus every number \(\displaystyle x, y\) or \(\displaystyle z\) give us remainder of \(\displaystyle 1, 2\) or \(\displaystyle 0\) and two from these remainders have to be the same (only exeption is \(\displaystyle 0, 0\) and \(\displaystyle 0\)). So we have can see now that when two remainders equal \(\displaystyle 2\), then the last one have to equal \(\displaystyle 1\) and otherwise when two remainders equal \(\displaystyle 1\), then the last remainder have to equal \(\displaystyle 2\). Define remainders of numbers \(\displaystyle x, y\) and \(\displaystyle z\) as \(\displaystyle a, b\) and \(\displaystyle c\). Then we can see that we have five possibilities:
1) \(\displaystyle (a, b, c) = (1, 1, 2)\)
2) \(\displaystyle (a, b, c) = (1, 2, 2)\)
3) \(\displaystyle (a, b, c) = (0, 0, 0)\)
Possiblity when \(\displaystyle (a, b, c)=(0, 0, 1 or 2)\) doesn't exist, because minimum in the one sum we will have situation when product is divisible by \(\displaystyle 3\) and one number \(\displaystyle x\) or \(\displaystyle y\) or \(\displaystyle z\) is that one with remainder of \(\displaystyle 1\) or \(\displaystyle 2\). Then that sum is not divisible by \(\displaystyle 3\).
We can see that square of number with remainder of \(\displaystyle 2\) give us remainder of \(\displaystyle 1\). Suppose we let \(\displaystyle x\) is that one with remainder of \(\displaystyle 2\). Then
\(\displaystyle x\equiv 2 (mod 3)\), so
\(\displaystyle x^2\equiv 4 (mod 3)\)
\(\displaystyle x^2\equiv 1 (mod 3)\)
So squares of numbers x, y, z give us remainders of 1 (\(\displaystyle 1^2=1\)), so
\(\displaystyle x^2 + y^2 + z^2\equiv 1+1+1 (mod 3) \)
\(\displaystyle x^2 + y^2 + z^2\equiv 0 (mod 3) \)