Example 12 : Find the value of A and B if