B × A = {(x, a), (x, b), (x, c), (y, a), (y, b), (y, c), (z, a), (z, b), (z, c)}. Find set A and set B.
Let A and B be two sets such that n(A) = 3 and n(B) = 2. If (x, 1), (y, 2), (z, 1)\) are in A×B, find A and B, where x,y,z are distinct elements.