Random walks with nonnearest-neighbor transitions. II. Analytic one-dimensional theory for exponentially distributed steps in systems with boundaries