Answer
The net charge contained by the cube is $~~2.12\times 10^{-10}~C$
Work Step by Step
Since the electric field is uniform in the y direction and the z direction, the net electric flux through the left and right faces is zero, and the net electric flux through the top and bottom faces is zero.
We can find the electric flux through the front face where $x = 0$:
$\Phi = (3.00x+4.00)~\hat{i}\cdot A~\hat{i}$
$\Phi = (4.00)~\hat{i}\cdot A~\hat{i}$
$\Phi = 4.00~A$
$\Phi = (4.00~N/C)~(2.00~m)^2$
$\Phi = 16.0~N~m^2/C$
We can find the electric flux through the back face where $x = -2.00$:
$\Phi = (3.00x+4.00)~\hat{i}\cdot (-A~\hat{i})$
$\Phi = (-2.00)~\hat{i}\cdot (-A~\hat{i})$
$\Phi = 2.00~A$
$\Phi = (2.00~N/C)~(2.00~m)^2$
$\Phi = 8.00~N~m^2/C$
The net flux through the cube is $24.0~N~m^2/C$
We can find the net charge contained by the cube:
$q = \epsilon_0~\Phi$
$q = (8.854\times 10^{-12}~F/m)(24.0~N~m^2/C)$
$q = 2.12\times 10^{-10}~C$
The net charge contained by the cube is $~~2.12\times 10^{-10}~C$