@Wilso,
Deceleration is a type of acceleration (with a negative value). So, you just use the acceleration formula).
Find the acceleration with
A = (Vfinal - Vinitial) / T
(Vfinal is 0 so the result will be negative).
Then plug the value for A into the normal formula
D = Vinitial * T + 1/2 * A * T ^ 2