Question -
Answer -
Given, G = {7, 8} and H = {5, 4, 2}
We know that,
The Cartesian product of two non-empty sets P and Q is given as
P × Q = {(p, q): p ∈ P, q ∈ Q}
So,
G × H = {(7, 5), (7, 4), (7, 2), (8, 5), (8, 4), (8, 2)}
H × G = {(5, 7), (5, 8), (4, 7), (4, 8), (2, 7), (2, 8)}