6. (15%) Use the method of Lagrange multipliers to find the maximum and minimum values of \( x^{2} + y^{2} \) subject to the constraint \( x^{2} - 2x + y^{2} - 4y = 0 \).
6. (15%) Use the method of Lagrange multipliers to find the maximum and minimum values of \( x^{2} + y^{2} \) subject to the constraint \( x^{2} - 2x + y^{2} - 4y = 0 \).