Asymptotic solution of the one-dimensional wave equation with localized initial data and with degenerating velocity: I