2. Find the maximum and minimum of the function f (x,y) = x2y subject to the constraint x2 + 2y2 = 6.