B=\(x^2+4y^2-2x+10+4xy-4y\)
B=\(x^2+4xy+4y^2-2\left(x+2y\right)+10\)
B=\(\left(x+2y\right)^2-2\left(5\right)+10\)
B=\(5^2-10+10\)
B=25
\(B=x^2+4y^2-2x+10+4xy-4y\)
\(B=x^2+4y^2-2x+2x+4y+4xy\)
\(B=x^2+4y^2+4xy\)
\(B=x^2+2.x.2y+\left(2y\right)^2=\left(x+2y\right)^2\)
\(B=5^2\)
\(B=25\)