[tex]\mathbf f(x,y,z)=5x\,\mathbf i+xy\,\mathbf j+2xz\,\mathbf k[/tex]
[tex]\mathrm{div}(\mathbf f)=\dfrac{\partial(5x)}{\partial x}+\dfrac{\partial(xy)}{\partial y}+\dfrac{\partial(2xz)}{\partial z}=5+x+2x=5+3x[/tex]
By the divergence theorem, the flux of [tex]\mathbf f[/tex] across the boundary of [tex]E[/tex] is given by
[tex]\displaystyle\iint_{\mathcal S}\mathbf f\cdot\mathrm d\mathbf S=\iiint_E\mathrm{div}(\mathbf f)\,\mathrm dV[/tex]
[tex]=\displaystyle\int_{z=0}^{z=2}\int_{y=0}^{y=2}\int_{x=0}^{x=2}(5+3x)\,\mathrm dx\,\mathrm dy\,\mathrm dz=64[/tex]