Step 1: By Gauss’s law:
\[
\Phi = \frac{Q_{\text{enclosed}}}{\varepsilon_0}
\]
Step 2: Disk is cut into two equal halves by the face \(x = -a/2\).
Enclosed disk charge: \(\frac{1}{2} \times 6\,\text{C} = 3\,\text{C}\).
Step 3: Only length \(a/4\) of the rod lies inside the cube.
\[
Q_{\text{rod}} = 8\,\text{C} \times \frac{1}{4} = 2\,\text{C}
\]
Step 4: Of the point charges, only \(-7\,\text{C}\) lies inside the cube.
Step 5: Net enclosed charge:
\[
Q = 3\,\text{C} + 2\,\text{C} - 7\,\text{C} = -2\,\text{C}
\]