Interesting question! I would also like to know the answer.
Edit: depending on the context, I would say both but I will explain this later on.
The work done is the force exerted on an object parallel to the direction of that objects motion W=FD
I think I got it, we'll use the horizontal component of force he applied, not resultant. As resultant will contain e.g backward force by friction. The force by friction is on a separate the work done by friction on the opposite direction I guess
Considering the work done against gravity when an object is lifted in a gravitational field, we know that the force is the weight of the object and that the height is the distance, that is, . However, you should realise that work cannot be done against gravity if the applied force on the object is less than or even equal to the weight of the object, meaning that practically a greater amount of work is done but only the force equal to the weight is responsible for the work done against gravity.
As a result, if we are to find the work done by a car as it's accelerating over a particular distance, then the work done (against friction as well as the work done increasing the kinetic energy of the car) is equal to .
Someone please correct me if I'm wrong.