A force starts acting on a spring block system. At a stretch when x=mgk
At x=mgk,Fs=kx=k(mgk),F=mg⇒Fs=Fext(at x=mgk)Wext+WFs=ΔK.E>0