The solution to the system of equations in terms of \(A\) and \(B\) is:
\[
x = \frac{A}{A - B}, \quad y = \frac{-2}{A - B}
\]
Comparing this with the given options, we see that the correct answer is:
\[
\boxed{\text{A. } x = \frac{2}{-A + B}, \quad y = \frac{-A - B}{-A + B}}
\]