(3A+B)・(3A+B) = 7^2
9*2^2 + 3^2 + 6 A・B = 49
...