2. Find the maximum and minimum values of f(x,y)=2x2+y2-4x-2y+5 on the closed set S=