\(A=2x+xy^2-x^2y-2y\)
\(=2\left(x-y\right)-xy\left(x-y\right)\)
\(=\left(x-y\right)\left(2-xy\right)\)
\(=\left(-\dfrac{1}{2}-\dfrac{-1}{3}\right)\left(2-\dfrac{-1}{2}\cdot\dfrac{-1}{3}\right)\)
\(=\left(\dfrac{1}{3}-\dfrac{1}{2}\right)\cdot\left(2-\dfrac{1}{6}\right)\)
\(=\dfrac{-1}{6}\cdot\dfrac{11}{6}=-\dfrac{11}{36}\)