A general concept: if f(x,y,z(x,y))=0 then differentiating with respect to x and y gets:
fx+fzzx=0
fy+fzzy=0
when zx=zy=0 , you'll get fx=fy=0.
So solve for the partials of f with respect to x and y are 0.
fx=4x−12y+4z=0
fy=6y−12x=0
solving for x,y as functions of z:
x=z/5,y=2z/5
Plug those into the original:
2z2/25+12z2/25+z2−24z2/25+8z2/25=35
23z2=875
z=±6.17
Comments