Concept:In a Cartesian product A×B, each ordered pair has the first element from A and the second from B.Explanation:The given product is A×B={(3,2),(3,4),(5,2),(5,4)}.Extract all distinct first elements: 3 and 5. So A={3,5}.Extract all distinct second elements: 2 and 4. So B={2,4}.Answer:A={3,5}, B={2,4}.