According to Gauss's law, the electric flux through a closed surface is given by Φ=ε0qenclosed.
For the first sphere of radius r1=3 cm centered at the origin, only the charge at x=2 cm is enclosed.
qenclosed,1=8μC
Φ1=ε08μC
For the second sphere of radius r2=5 cm centered at the origin, both charges at x=2 cm and x=4 cm are enclosed.
qenclosed,2=8μC−2μC=6μC
Φ2=ε06μC
The ratio of the electric flux is:
Φ2Φ1=68=34
Answer: 4:3