The correct option is D 3 J
The work done by the force is W=∫70Fdx=∫20Fdx+∫32Fdx+∫43Fdx+∫64Fdx
From the graph force
for x=0 to x=2, F−0x−0=0−20−2⇒F=x
for x=2 to x=3, F=2
for x=3 to x=4, F=0
for x=4 to x=6, F−0x−4=0+14−6⇒F=−x2+2
now
W=∫20xdx+∫322dx+0+∫64(−x2+2)dx+0
W=(42)+2(3−2)−12(36−162)+2(6−4)=2+2−5+4=3J
Ans:(D)