Gauss's law
and Gauss's law (assuming no free charges, formula_6),