To calculate the acceleration of the truck, we use the equation of motion

Here, v is final velocity of the truck, u is initial velocity of truck, a is acceleration of the truck and t is time taken.
Given, u = 6 m/s, v = 14 m/s and t = 4 s.
Substituting these values in above equation, we get
.
Thus, the truck acceleration is
