\(A=x^2+y^2-xy+2x-2y+2022\)
\(A=\left(x^2+\dfrac{y^2}{4}+1-xy+2x-y\right)+\dfrac{3}{4}y^2-y+2021\)
\(A=\left(x-\dfrac{y}{2}+1\right)^2+\dfrac{3}{4}\left(y-\dfrac{2}{3}\right)^2+\dfrac{6062}{3}\ge\dfrac{6062}{3}\)
\(A_{min}=\dfrac{6062}{3}\) khi \(\left(x;y\right)=\left(-\dfrac{2}{3};\dfrac{2}{3}\right)\)