We start by observing that z must be even, so z2=3x−5y≡(−1)x−1(mod4) is divisible by 4 , which implies that x is even, say x=2t. Then our equation can be rewritten as (3t−z)(3t+z)=5y, which means that both 3t−z=5k and 3t+z=5y−k for some nonnegative integer k. Since 5k+5y−k=2⋅3t is not divisible by 5 , it follows that k=0 and
2⋅3t=5y+1
Suppose that t≥2. Then 5y+1 is divisible by 9 , which is only possible if y≡3 (mod6). However, in this case 5y+1≡53+1≡0(mod7), so 5y+1 is also divisible by 7 , which is impossible.
Therefore we must have t≤1, which yields a (unique) solution (x,y,z)=(2,1,2).