Apply Lagrange multipliers with two constraints to find the maximum and minimum values of a function of three variables along the circle formed by a plane and a sphere.