Work is equal to the Force applied multiplied by the distance it is applied to. Work and distance has a direct proportionality relationship, therefore when you increase the distance you apply the same force to compress the spring, this will translate to multiplying the work to the same factor the distance was increase. The answer is twice the work for the second dart.