For a plane wave intensity (energy crossing per unit area per unit time) is constant at all points.
But for a spherical wave, intensity at a distance r from a point source of power P (energy transmitted per unit time) is given by I=4πr2P or I∝r21
For a line source I=2πrℓP or I∝r1