Step 1: Work done
Work done for small displacement can be defined as:
dW=Fdx ....(1)
Step 2: Integrate the equation
Total work done can be calculated by integrating the equation (1) with limits x=0 to x=5m
∫dW=5∫0Fdx
∫dW=5∫0(7−2x+3x2)dx
⇒W=[7x−2x22+3x33]50
⇒W=35−25+125=135 J
Hence, the work done is 135 J