Evaporade: I think your definition of work is correct(I checked on wikipedia), however you are only considering half the story.
When the car is struck by the truck the work the truck does on the car is negative, however once it turns around the work is positive.
This situation can be compared to a ball being thrown up in the air. Initially grativy does negative work because the displacement is up while the force is acting down, however after the turnaround the work is positive since the direction the ball is falling is down and the force is also down.
In the truck case the car's direction is still positive for som time

however beyond that it begins to turn around (just like the ball does) and so the direction of car and force are both negative hence positive work.
This is consistent with /0's claim concerning the change in kinetic energy: car slows down, then speeds up after turn around(just like ball does)
Key:

where d is displacement of object work is being done on while F is the force being applied.
Edit: my claim about the car's direction being positive for some small time can be justified as follows: the velocity of the car is +40m/s, however it eventually becomes negative but the change in velocity must be continous because if it wasn't then we would need infinite force.(assuming mass of car is constant:

So a change of over 40m/s in v in an instant needs unrealistically large force)