6. Find the extrema of the function f(x,y,z)=x+y+z subject to the constrain z=2x2+4y2.