Answer:
Q = ba⁴ * ε₀
Explanation:
From Gauss's Law, we know that
flux Φ = Q / ε₀
where ε₀ = 8.85e-12 C²/N·m²
and also,
Φ = EAcosθ
The field is directed along the x-axis, so that all of the flux passes through the side of the cube at x = a. This means that θ = 0º, and thus
Φ = EAcos0
Φ = EA
E = bx² meanwhile, we are interested in the point where x = a, so we substitute and then
E = ba²
Since A = a² for the cube face, we have
Q / ε₀ = E * A
Q / ε₀ = ba² * a²
so that
Q = ba⁴ * ε₀