To be able to solve this problem it is necessary to take into account the concepts of Electric Flow
on a closed surface.
By definition we know that the flow across a closed surface is

And we know that the Coulumb's law says

We can replace, so

Solving the integral we reach the expression,

The charge of a proton is
, but we have 2 protons, then

The constant of permittivity of free space
) is
H/m
Replacing we have that the flux is



We can also calculate the Volume of a Sphere, that is


Through this value is easy now calculate the dirvegence of the electric field, which is given by,


