A force F=a+bx acts on a particle in the x-direction where a and b are constants. Find the work done by this force during a displacement from x=0 to x=d.