A particle of mass m moves in a straight line with its velocity varying with distance travelled according to the equation $v=a\sqrt {x}$ , where a is a constant. What is the total work done by all the forces during a displacement from x = 0 to x = d?