Elastic modulus only depends on the type of the material which is vary material to material based on its physical properties. elastic modulus does not depend on the length or the cross-section area of the wire or the force applied on the wire. so the lengths of wire does not decide the elastic modulus. since the two wires are made out of same metal ,hence their elastic modulus will be same.