A string is stretched by distance x and then compressed to same distance from its original length.the work done by the spring force is
