Attempt the question, check the explanation, and continue with similar questions to build confidence before exams.
A = {1, 2}, B = {1, 2, 3}; {(1, 1), (2, 2), (1, 3)}
A = {1, 2}, B = {1, 2}; {(1, 1), (2, 2)}
A = {1, 2, 3}, B = {1}; {(1, 1), (2, 1), (3, 1), (1, 2)}
A = {a, b}, B = {1}; {(a, 1), (a, 2)}
Continue with nearby questions to strengthen the same chapter concept while you still have the context fresh in mind.