It is given that A = {x, y, z} and B = {1, 2}.∴ A x B = {(x, 1), (x, 2), (y, 1), (y, 2), (z, 1), (z, 2)}Since n(A x B) = 6, the number of subsets of A x B is 26.Therefore, the number of relations from A to B is 26.