If we make both exponents to be zero, then we must have x = 3 and y = 1
If , then we can't have x = 3 or else the sides won't match up. The same goes for when and we try to find y values that might work.
The left hand side represents powers of 2, and the right hand side represents powers of 3. The two primes don't match up to line up anywhere else except for when 2^0 = 3^0 = 1.
Otherwise, doesn't have any integer solutions for nonzero integers A,B.
Also, the right hand side grows faster than the left side. This means the two curves only intersect when (x,y) = (3,1).