The given pair of equations are:
…… (a)
Let’s, multiply LHS and RHS of equation (a) by for easy calculation
So, we finally get
……………………….. (i) And,
…………………………… (ii)
Now, subtracting two equations we get,
⇒
⇒
Next, putting the value of B in the equation (i) we get,
⇒
∴
Thus, the value of A and B obtained are and respectively.