A wire of length L and cross-sectional area A is made of a material of Young's modulus Y. The work one in stretching the wire by an amount x is given by
Work done per unit volume of the wire
Work done per unit volume
But, volume of the wire