The work done by a force is given by:

where
F is the magnitude of the force
d is the distance covered by the object

is the angle between the direction of the force and the direction of motion
In our problem,

,

and

(because the force is parallel to the direction of motion), so the work done by the crane is
