The given pair of equations are:
Let’s, multiply LHS and RHS by to make the coefficients as an integer
……………………….. (i)
…………………………… (ii)
From (ii)
……………………………… (iii)
Now, substituting A in equation (i) we get,
⇒
⇒
⇒
⇒
Now, putting the value of B in the equation (iii) we get,
⇒
⇒
∴
Thus, the value of A and B is found to be and respectively.