Given the set a = {0,1,2}, B = {1,2,3,4}, define a + B = {(x, y) | x ∈ a ∩ B, y ∈ a ∪ B}, find the number of elements in a + B Urgent process

Given the set a = {0,1,2}, B = {1,2,3,4}, define a + B = {(x, y) | x ∈ a ∩ B, y ∈ a ∪ B}, find the number of elements in a + B Urgent process

A∩B={1,2}
A∪B={0,1,2,3,4}
The number of elements in a + B is 2 × 5 = 10