'Work 'is defined in Joules as ... the net applied force times the distance moved in the direction of the force.
When the force is not constant the work done is the area under the force-displacement graph.
Next