For Hooke's law F=Ke 
⟹eF=K 
e1f1=e2f2 
Let the original length=t0
therefore e1=(36−t0) cm;  e2=(46−t0) cm
if f1=40N & f2=60N 
Then 36−t040=(45−t0)60
 
⟹40(45−t0)=60(36−t0) 
therefore 1800−40t0=2160−60t0 
60t0−40t0=2160−1800 
20t0=360 
t0=18cm 
Comments