1. \(A+7x^2y-5xy^2-xy=x^2y+8xy^2-5xy\)
\(\Rightarrow A+7x^2y-x^2y-5xy^2-8xy^2-xy+5xy=0\)
\(\Rightarrow A+6x^2y-13xy^2+4xy=0\)
\(\Rightarrow A=-6x^2y+13xy^2-4xy\)
2. \(4xy^2-7x+1-A=3x^2-7x-1\)
\(\Rightarrow4xy^2-3x^2-7x+7x+1+1-A=0\)
\(\Rightarrow4xy^2-3x^2+2-A=0\)
\(\Rightarrow A=4xy^2-3x^2+2\)