A = 2 and B = 4
Explanation:
From the question, it is given that the units place contains a 6. So, the product of B and B should give a number with 6 in units place. It is possible when B = 4 or 6.
When B = 4,
(10A + B) x (B) = 96
It becomes (10A + 4) x 4 = 96
40A + 16 = 96,
By simplifying the equation, it gives A = 2.
Similarly, when B = 6,
(10A + B)x(B) = 96
By simplifying, it becomes (10A + 6) x 6 = 96
60A + 36 = 96, gives A = 1.
Hence, A = 2 B = 4 or A = 1 B = 6 (Both are feasible solutions)