a.
which means
Similarly,
Then
b.
Note that .
By the inclusion-exclusion principle,
and , so
5.7m questions
7.4m answers