the normal vectors would definatly vary based on the dimensions of the pyrimyd. Have you done Stokes or Divergence theorems yet because you have a closed surface.

the divergence of the vector field is 1 so by the divergence theorem, the flux accross the surface should be equal to the volume of the pyramid.