I need to use the lagrange method to find the extreme values of
with this condition
I got this system of equations
And I tried to define y in terms of z, and insert in (3)
But I get the wrong answer after solving the new equation.
The right answer is
Would anyone mind to explain how to get to the right answer?