If a spring extends by x on loading then energy stored by the spring is:- (T is the tension in the spring, k is spring constant)