The graph below shows how the acceleration varies.
As the intercept is 8 and the gradient is \displaystyle -\frac{8}{10}=-\frac{4}{5} , the acceleration is given by:
\displaystyle a=8-\frac{4t}{5}