Based on the semiclassical theory of the interaction of two-frequency laser radiation with a resonant atomic medium, an analytical expression is obtained that describes the form of resonances of electromagnetically induced transparency detected in a cell with a finite direction in the longitudinal laser beam direction with an anti-relaxation coating of walls, taking into account the motion of atoms and collisions with walls. The following types of reflection from walls are considered: diffuse, specular, and specular-incoherent. It is found that in a number of cases the diffuse type of reflection exhibits the properties of a mirror-incoherent one. It is also shown that the nondegeneracy of the excited state in a number of cases significantly changes the shape of the transparency resonance. Keywords: Electromagnetically induced transparency, Gas cell, anti-relaxation coating, diffuse reflection, specular reflection, specular-incoherent reflection.