Find the extremum of the function z = f (x, y) determined by the equation x ^ 2 + y ^ 2 + Z ^ - 2x-4z-10 = 0

Find the extremum of the function z = f (x, y) determined by the equation x ^ 2 + y ^ 2 + Z ^ - 2x-4z-10 = 0

Formula: (x-1) ^ 2 + y ^ 2 + (Z-2) ^ 2 = 15
So | Z-2|