{2,4,5,7,} ∩ {0,4,7,8}
Intersection is what they both share the same of.
So yours would be 4 and 7 because it is in both groups.