$$ \begin{cases} x^2+9y^2-2z^2=0,(1) \\ x+3y+3z=5, (2)\\ \end{cases} $$
I try to solve maximum and minimum value of $z^2$, maybe Lagrange Multiplier is useful but I can't formulate the equation properly.
From $(1)$ and $(2)$ I can get $$g(x,y)=7x^2+20x+63y^2-12xy+60y=0$$ So my Lagrange multiplier is $$F(x,y,\lambda)=\frac{x^2+9y^2}{2}+\lambda g(x,y)$$ But I can't solve the following equation $$ \begin{cases} F'_x=0 \\ F'_y=0\\ F'_{\lambda}=0\\ \end{cases} $$ So I think there must be something wrong with my method. Any ideas are welcome.
By Cauchy-Schwarz, we have $$4z^2=(1+1)(x^2+9y^2) \ge (x+3y)^2 = (5-3z)^2$$ giving $$(z-1)(z-5) \le 0$$ which implies $$1 \le z \le 5$$ $$1 \le z^2 \le 25$$
The equality holds at $(x,y,z)=(1,\frac{1}{3},1)$ and $(x,y,z)=(-5,-\frac{5}{3},5)$