\(A-\left(x^2+y^2-4xy\right)=x^2+4xy+3x^2\)
\(\Leftrightarrow A=x^2+4xy+3x^2+x^2+y^2-4xy\)
\(\Leftrightarrow A=5x^2+y^2\)
\(B+\left(-x^4+x^2-2x^3-\dfrac{1}{3}\right)=3x^2-2x^3+x-\dfrac{2}{3}\)
\(\Leftrightarrow B=3x^2-2x^3+x-\dfrac{2}{3}+x^4-x^2+2x^3+\dfrac{1}{3}\)
\(\Leftrightarrow B=x^4+2x^2+x-\dfrac{1}{3}\)