If A and B are two sets such thatA={−1,2,3},n(A×B)=9, then n(B) is
Let A and B be two sets such that n(A) = 3 and n(B) = 2. If (x, 1), (y, 2), (z, 1) are A×B, write A and B.