If n(A) = 3, n(B) = 2 and if (x, 4), (y, 5), (z, 4) are three distinct elements of A x B, then
A = {x, y, z} and B = {4, 5}
A = {4, 5} and B = {x, y, z}
A ={y, z, 5} and B = {x, 4}
A = {4, x, y} and B = {5, z}
Here A = set of first elements
B = set of second elements
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.