Answer:
Φ = Q/ε0 = q/ε0
Step-by-step explanation:
The electric flux through any Gaussian surface is equal to the net charge inside the surface over the dielectric permitivity of vacuum. This is the Gauss theorem for electric flux trough a surface. In this case is not important that the suface is a surface of a cube.
I hope this is usefull for you!