When a spring is stretched by 2 cm, it stores 100 J of energy. If it is stretched further by 2 cm, the stored energy will be increased by (in J)
100=12kx2 (given)
W=12k(x22−x12)=12k[(2x)2−x2]
=3×12kx2=3×100=300 J