The total flux through an enclosing surface is equal to the charge enclosed divided by a constant.
In this case, the charge is at the centre of the cube so symmetry is our friend.
The flux through one side will be the one sixth the total flux. We don't need to know the dimensions.
As long as we use a cubic Gaussian surface that contains the charge at its centre, we know that: