Analytical solution to a classical slowing-down problem