Let A = {1, 2} and B = {3, 4}. Find the total number of relations from A into B.
Let A = {x, y, z} and B = {1, 2}. Find the number of relations from A to B.