Gauss's law states that the net flux of an electric field in a closed surface is directly proportional to the enclosed electric charge. Therefore,
ϕsmaller cube =ϵ02Q
Since the smaller cube is inside the bigger cube, so total charge contained by the bigger cube will be 2Q+3Q=5Q.
ϕbigger cube =ϵ05Q
Therefore, required ratio will be,
ϕbigger cube ϕsmaller cube =52.
