5. Find the extreme value of the function f(x, y, z) = x + 2y + 3z subject to constraints x - y + z = 1 and x2 + y2 = 1.