\(B=x^2+2y^2-2xy+2x-10y+2028\\ =x^2+y^2+1-2xy+2x-2y+y^2-8y+16+2011\\ =\left(x-y+1\right)^2+\left(y-4\right)^2+2011\ge2011\)
vì \(\left(x-y+1\right)^2\ge0;\left(y-4\right)^2\ge0\)
min B = 2011 khi \(\left\{{}\begin{matrix}y-4=0\\x-y+1=0\end{matrix}\right.\Leftrightarrow}\left\{{}\begin{matrix}y=4\\x=3\end{matrix}\right.\)