Not entirely sure what you mean, without a question to put it in context, but here goes.
You look at the change in total energy of the vehicle, taking into account its potential and kinetic energy.
If its total energy has increased, the increase must have been provided by the Work Done by a force or engine.
If the total energy has decreased, then this decrease is Work Done AGAINST a resistive force, such as friction.
If that doesn´t help, give me a specific question