To solve this problem we will apply Gauss's law which defines the electric flow as the proportional change of the charge on the vacuum permittivity. Mathematically said this is,
[tex]\phi = \frac{q}{\epsilon_0}[/tex]
Here,
q = Charge
[tex]\epsilon_0[/tex]= Vacuum permittivity
We will start calculating the load inside the box
[tex]q_{enclosed} = \text{Charge inside the box}[/tex]
[tex]q_{enclosed} = (3-2-7+1)nC[/tex]
[tex]q_{enclosed} = -5nC[/tex]
Now if the vacuum permittivity is equivalent to,
[tex]\epsilon_0 = 8.85*10^{-12} F/m[/tex]
We can replace in our first equation:
[tex]\phi = \frac{-5*10^{-9}}{8.85*10^{-12}}[/tex]
[tex]\phi = 565N\cdot m[/tex]
Therefore the electric flux through the surface of the box is [tex]565N\cdot m[/tex]