Using the inclusion/exclusion principle,
n(G U H) = n(G) + n(H) - n(G ∩ H) = 20 + 30 - 5 = 45
6.5m questions
8.6m answers