Variational solution of the one-dimensional backward-scattering model with generalized coupling constant