The first passage time for position-dependent correlated random walk with absorbing boundary condition