5х^2+2у^2+34z^2-6xy-6xz+6yz+10z+1=0
You can't solve three variables one equation. It usually has infinite solutions.