Gauss's law states that the electric flux equals the wax charge between the dielectric permeability.
We must define a Gaussian surface that takes advantage of the symmetry of the problem, let's use a cylinder with the faces perpendicular to the line of charge. Therefore the angle between the cylinder side area has the same direction of the electric field which is radial.