In materials with the gradient of magnetic anisotropy, spin-orbit-torque-induced magnetization behaviour has attracted attention because of its intriguing scientific principle and potential application. Most of the magnetization behaviours microscopically originate from magnetic domain wall motion, which can be precisely depicted using the standard cooperative coordinate method (CCM). However, the domain wall motion in materials with the gradient of magnetic anisotropy using the CCM remains lack of investigation. In this paper, by adopting CCM, we established a set of equations to quantitatively depict the spin-orbit-torque-induced motion of domain walls in a Ta/CoFe nanotrack with weak Dzyaloshinskii-Moriya interaction and magnetic anisotropy gradient. The equations were solved numerically, and the solutions are similar to those of a micromagnetic simulation. The results indicate that the enhanced anisotropy along the track acts as a barrier to inhibit the motion of the domain wall. In contrast, the domain wall can be pushed to move in a direction with reduced anisotropy, with the velocity being accelerated by more than twice compared with that for the constant anisotropy case. This substantial velocity manipulation by anisotropy engineering is important in designing novel magnetic information devices with high reading speeds.